mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-05-25 12:27:16 +00:00
chore(next): updating nextjs version to latest
This commit is contained in:
@@ -7,9 +7,9 @@ export const dynamic = "force-dynamic";
|
||||
|
||||
export async function GET(
|
||||
req: NextRequest,
|
||||
options: { params: { id: string[] } },
|
||||
options: { params: Promise<{ id: string[] }> },
|
||||
) {
|
||||
const userId = options.params.id.join("/");
|
||||
const userId = (await options.params).id.join("/");
|
||||
|
||||
if (!userId)
|
||||
return Response.json(
|
||||
|
||||
Reference in New Issue
Block a user