Fix beranda event

This commit is contained in:
2024-12-04 17:48:58 +08:00
parent 5917a1b8d0
commit 9380754b15
2 changed files with 44 additions and 18 deletions

View File

@@ -0,0 +1,9 @@
import { NextResponse } from "next/server";
export async function GET(params: Request) {
const { searchParams } = new URL(params.url);
const userId = searchParams.get("userId");
return NextResponse.json({ userId });
}