diff --git a/routes/api/user/index.js b/routes/api/user/index.js index 67bc9197d..808ad6940 100644 --- a/routes/api/user/index.js +++ b/routes/api/user/index.js @@ -118,7 +118,7 @@ router.post('/request-password-reset', (req, res, next) => { }; return mailer.sendSimple(options); }) - .then(success => { + .then(() => { res.json({success: true}); }) .catch(error => {