Fix beranda event
This commit is contained in:
9
src/app/api/event/get-all-by-userId/route.ts
Normal file
9
src/app/api/event/get-all-by-userId/route.ts
Normal 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 });
|
||||
}
|
||||
Reference in New Issue
Block a user