diff options
Diffstat (limited to 'server/middlewares/validators/users.ts')
-rw-r--r-- | server/middlewares/validators/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts index 50327b6ae..64bd9ca70 100644 --- a/server/middlewares/validators/users.ts +++ b/server/middlewares/validators/users.ts | |||
@@ -44,7 +44,7 @@ const usersListValidator = [ | |||
44 | query('blocked') | 44 | query('blocked') |
45 | .optional() | 45 | .optional() |
46 | .customSanitizer(toBooleanOrNull) | 46 | .customSanitizer(toBooleanOrNull) |
47 | .isBoolean().withMessage('Should be a valid blocked boolena'), | 47 | .isBoolean().withMessage('Should be a valid blocked boolean'), |
48 | 48 | ||
49 | (req: express.Request, res: express.Response, next: express.NextFunction) => { | 49 | (req: express.Request, res: express.Response, next: express.NextFunction) => { |
50 | if (areValidationErrors(req, res)) return | 50 | if (areValidationErrors(req, res)) return |