From 6d4c514c00e65b9c8d8ddb6054c526e08193b5e8 Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Thu, 22 Aug 2019 10:29:40 +0100 Subject: [PATCH] Remove always failing error commited accidentally --- app/src/api/controllers/userController.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/api/controllers/userController.ts b/app/src/api/controllers/userController.ts index 103701d3..9a2b1004 100644 --- a/app/src/api/controllers/userController.ts +++ b/app/src/api/controllers/userController.ts @@ -65,7 +65,6 @@ function deleteCurrentUser(req, res) { } async function resetPassword(req: express.Request, res: express.Response) { - throw new Error('adsd'); if(req.body == undefined || (req.body.email == undefined && req.body.token == undefined)) { return res.send({ error: 'Expected an email address or password reset token in the request body' }); }