pnpm build

This commit is contained in:
UltraLionFr
2025-08-20 17:14:23 +02:00
parent 9730e21999
commit 673119679e
8 changed files with 56 additions and 53 deletions
+5 -5
View File
@@ -1,11 +1,11 @@
import { prisma } from "@/lib/prisma";
import { NextResponse } from "next/server";
import { NextResponse, type NextRequest } from "next/server";
export async function GET(
request: Request,
{ params }: { params: { id: string } }
_req: NextRequest,
{ params }: { params: Promise<{ id: string }> }
) {
const { id } = params;
const { id } = await params;
if (!id) {
return new NextResponse("Invalid ID", { status: 400 });
@@ -22,4 +22,4 @@ export async function GET(
"Cache-Control": "no-store",
},
});
}
}