diff --git a/src/services/api/routes/v1/repair-uidhmac.ts b/src/services/api/routes/v1/repair-uidhmac.ts index 03776f2..2fda002 100644 --- a/src/services/api/routes/v1/repair-uidhmac.ts +++ b/src/services/api/routes/v1/repair-uidhmac.ts @@ -40,7 +40,7 @@ router.post('/', async (request: express.Request, response: express.Response): P }); if (!nexAccount) { - response.json({ + response.status(400).json({ app: 'api', status: 400, error: 'Invalid NEX account'