Merge branch 'feat/passkey' into feat/document-passkey-test

This commit is contained in:
David Nguyen
2024-03-17 15:14:32 +08:00
4 changed files with 26 additions and 6 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);
}
}),