Skip to content

Commit

Permalink
Update handling in auth route
Browse files Browse the repository at this point in the history
  • Loading branch information
ccali11 committed Jun 22, 2023
1 parent d6eaed8 commit 0596d9b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions services/users/src/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ router.post('/nonce', async (req: express.Request, res: express.Response) => {
message: 'Nonce retrieved',
data: nonce
})
} else {
res.status(404)
res.json({
error: true,
message: 'Error getting nonce'
})
}
} catch (error: any) {
res.status(500)
Expand Down

0 comments on commit 0596d9b

Please sign in to comment.