fix: add passkey limits

This commit is contained in:
David Nguyen
2024-03-17 15:10:32 +08:00
parent e4ad940a06
commit 87b79451d5
4 changed files with 25 additions and 5 deletions

View File

@ -110,10 +110,7 @@ export const authRouter = router({
} catch (err) {
console.error(err);
throw new TRPCError({
code: 'BAD_REQUEST',
message: 'We were unable to create this passkey. Please try again later.',
});
throw AppError.parseErrorToTRPCError(err);
}
}),