aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r--server/middlewares/validators/abuse.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/abuse.ts b/server/middlewares/validators/abuse.ts
index 048dbead0..966d1f7fb 100644
--- a/server/middlewares/validators/abuse.ts
+++ b/server/middlewares/validators/abuse.ts
@@ -128,7 +128,7 @@ const abuseListValidator = [
128 .custom(exists).withMessage('Should have a valid search'), 128 .custom(exists).withMessage('Should have a valid search'),
129 query('state') 129 query('state')
130 .optional() 130 .optional()
131 .custom(isAbuseStateValid).withMessage('Should have a valid video abuse state'), 131 .custom(isAbuseStateValid).withMessage('Should have a valid abuse state'),
132 query('videoIs') 132 query('videoIs')
133 .optional() 133 .optional()
134 .custom(isAbuseVideoIsValid).withMessage('Should have a valid "video is" attribute'), 134 .custom(isAbuseVideoIsValid).withMessage('Should have a valid "video is" attribute'),