Refactored a bunch of shit
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m57s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m57s
This commit is contained in:
@@ -65,7 +65,8 @@ export const POST: APIRoute = async ({ request, cookies }) => {
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
return new Response(JSON.stringify({ error: (error as Error).message }), {
|
||||
console.error("Passkey authentication verification failed:", error);
|
||||
return new Response(JSON.stringify({ error: "Verification failed" }), {
|
||||
status: 400,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user