diff --git a/src/middlewares/usersResourceValidation.ts b/src/middlewares/usersResourceValidation.ts index 7282a4f..096d7c3 100644 --- a/src/middlewares/usersResourceValidation.ts +++ b/src/middlewares/usersResourceValidation.ts @@ -11,6 +11,7 @@ const isValidLogin = async (req: Request, res: Response, next: NextFunction) => error.status = 'fail'; return next(error); } + next(); }