diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-19 15:02:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-20 09:25:44 +0200 |
commit | 906f46d0849fac3e2b30b7bdd57759e189d6a35d (patch) | |
tree | 3fbe0023c046ade74995010ae21f6e2eece1ddf5 /server/middlewares/validators/videos | |
parent | 4beda9e12adc7b1f3b178cecd6863ebf3cf431f1 (diff) | |
download | PeerTube-906f46d0849fac3e2b30b7bdd57759e189d6a35d.tar.gz PeerTube-906f46d0849fac3e2b30b7bdd57759e189d6a35d.tar.zst PeerTube-906f46d0849fac3e2b30b7bdd57759e189d6a35d.zip |
Split check user params tests
Diffstat (limited to 'server/middlewares/validators/videos')
-rw-r--r-- | server/middlewares/validators/videos/video-channels.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/videos/video-channels.ts b/server/middlewares/validators/videos/video-channels.ts index ec107fa51..c4705192a 100644 --- a/server/middlewares/validators/videos/video-channels.ts +++ b/server/middlewares/validators/videos/video-channels.ts | |||
@@ -61,7 +61,7 @@ const videoChannelsUpdateValidator = [ | |||
61 | .optional() | 61 | .optional() |
62 | .custom(isBooleanValid).withMessage('Should have a valid bulkVideosSupportUpdate boolean field'), | 62 | .custom(isBooleanValid).withMessage('Should have a valid bulkVideosSupportUpdate boolean field'), |
63 | 63 | ||
64 | async (req: express.Request, res: express.Response, next: express.NextFunction) => { | 64 | (req: express.Request, res: express.Response, next: express.NextFunction) => { |
65 | logger.debug('Checking videoChannelsUpdate parameters', { parameters: req.body }) | 65 | logger.debug('Checking videoChannelsUpdate parameters', { parameters: req.body }) |
66 | 66 | ||
67 | if (areValidationErrors(req, res)) return | 67 | if (areValidationErrors(req, res)) return |