From 0596d9b152c79b462900e406cc7e05f4bdefa42a Mon Sep 17 00:00:00 2001 From: Christopher Cali Date: Thu, 22 Jun 2023 08:04:18 -0700 Subject: [PATCH] Update handling in auth route --- services/users/src/routes/auth.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/services/users/src/routes/auth.ts b/services/users/src/routes/auth.ts index 1a170868b..34521c8b7 100644 --- a/services/users/src/routes/auth.ts +++ b/services/users/src/routes/auth.ts @@ -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)