Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
add a reset link to backend
  • Loading branch information
salviosage committed Oct 10, 2019
1 parent d010190 commit 39b3da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/user.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import UserService from '../services/user.service';
import Helper from '../helpers/helper';
import EmailHelper from '../helpers/verification-email';
import sendPasswordResetEmailHelper from '../services/resetpassword.service';
import errorMiddleware from '../middlewares/error.middleware';

/**
*
Expand Down Expand Up @@ -201,7 +202,6 @@ class UserController {
token
});
} catch (error) {
// const { response: { body: { errors } } } = error;
return res.status(404).send({
status: 404,
message: error
Expand Down

0 comments on commit 39b3da8

Please sign in to comment.