updated export paths
Deploy / deploy (push) Successful in 6m32s

This commit is contained in:
twotalesanimation
2026-08-07 12:07:16 +02:00
parent 7caf41e17c
commit 7dcb9303e5
7 changed files with 452 additions and 90 deletions
@@ -39,6 +39,7 @@ export async function GET(
const { searchParams } = new URL(req.url);
const episode = searchParams.get("episode")?.trim() || undefined;
const scene = searchParams.get("scene")?.trim() || undefined;
const sequence = searchParams.get("sequence")?.trim() || undefined;
const status = searchParams.get("status")?.trim() || undefined;
const page = Math.max(1, parseInt(searchParams.get("page") ?? "1", 10));
@@ -98,6 +99,7 @@ export async function GET(
where: {
projectId: project.id,
...(episode ? { episode } : {}),
...(scene ? { scene } : {}),
...(sequence ? { sequence } : {}),
...(status ? { status: status as never } : {}),
},