Fix event & auth

Deskripsi:
- Fix event kondisi user melewatkan event
- Fix bug force-dynamic di beberapa api
This commit is contained in:
2024-12-08 17:16:05 +08:00
parent 5eec7d57be
commit 231f713005
16 changed files with 121 additions and 167 deletions

View File

@@ -8,7 +8,7 @@ export async function GET(req: Request) {
if (!c || !c?.value || _.isEmpty(c?.value) || _.isUndefined(c?.value)) {
return NextResponse.json({ success: false });
// return new Response(JSON.stringify({ success: false }));
}
return NextResponse.json({ success: true });
}