fix registrasi

deskripsi:
- fix registrasi dan middleware
This commit is contained in:
2025-02-05 17:48:45 +08:00
parent d7252b9fb3
commit 61f8e03c73
10 changed files with 199 additions and 173 deletions

View File

@@ -52,7 +52,7 @@ export async function POST(req: Request) {
return NextResponse.json(
{
success: false,
message: "API Error or Server Error",
message: "Maaf, Terjadi Keselahan",
reason: (error as Error).message,
},
{ status: 500 }