Files
vfxreview/app/api/render/queue/route.ts
T
twotalesanimation 9a49cdc6a3
Deploy / deploy (push) Failing after 1m52s
RenderPipeline2
2026-08-01 15:44:26 +02:00

14 lines
400 B
TypeScript

import { NextResponse } from "next/server";
import { auth } from "@/auth";
import { listExportsForQueue } from "@/lib/render-pipeline/exports";
export async function GET() {
const session = await auth();
if (!session?.user) {
return NextResponse.json({ error: "Unauthorized" }, { status: 401 });
}
const exports = await listExportsForQueue();
return NextResponse.json({ exports });
}