]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/videos/video-channels.ts
Split check user params tests
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / videos / video-channels.ts
index ec107fa5166090bf94f908427c2e5c4ea78d9156..c4705192a042a403f4a4755a13341b5bd25320b7 100644 (file)
@@ -61,7 +61,7 @@ const videoChannelsUpdateValidator = [
     .optional()
     .custom(isBooleanValid).withMessage('Should have a valid bulkVideosSupportUpdate boolean field'),
 
-  async (req: express.Request, res: express.Response, next: express.NextFunction) => {
+  (req: express.Request, res: express.Response, next: express.NextFunction) => {
     logger.debug('Checking videoChannelsUpdate parameters', { parameters: req.body })
 
     if (areValidationErrors(req, res)) return