aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r--server/middlewares/validators/video-channels.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/middlewares/validators/video-channels.ts b/server/middlewares/validators/video-channels.ts
index f0ead24e3..0326e05b9 100644
--- a/server/middlewares/validators/video-channels.ts
+++ b/server/middlewares/validators/video-channels.ts
@@ -83,7 +83,7 @@ const videoChannelsRemoveValidator = [
83 } 83 }
84] 84]
85 85
86const videoChannelGetValidator = [ 86const videoChannelsGetValidator = [
87 param('id').custom(isIdOrUUIDValid).not().isEmpty().withMessage('Should have a valid id'), 87 param('id').custom(isIdOrUUIDValid).not().isEmpty().withMessage('Should have a valid id'),
88 88
89 (req: express.Request, res: express.Response, next: express.NextFunction) => { 89 (req: express.Request, res: express.Response, next: express.NextFunction) => {
@@ -102,7 +102,7 @@ export {
102 videoChannelsAddValidator, 102 videoChannelsAddValidator,
103 videoChannelsUpdateValidator, 103 videoChannelsUpdateValidator,
104 videoChannelsRemoveValidator, 104 videoChannelsRemoveValidator,
105 videoChannelGetValidator 105 videoChannelsGetValidator
106} 106}
107 107
108// --------------------------------------------------------------------------- 108// ---------------------------------------------------------------------------