Skip to content

Commit

Permalink
added languageCode to forgetPassword route
Browse files Browse the repository at this point in the history
  • Loading branch information
mertlsarac committed Jan 30, 2022
1 parent eaa92d2 commit cb6b311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/route/auth.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ router.post(subRoutes.forgetPassword, async (req: Request, res: Response) => {
await authController.forgetPassword(
context.postgresql_provider,
context.message_queue_provider,
req.body.username
req.body.username,
req.body.languageCode
);
res.status(ResponseCode.NO_CONTENT).json({});
});
Expand Down

0 comments on commit cb6b311

Please sign in to comment.