X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fvalidators%2Fredundancy.ts;h=8cd3bc33d22823735b236f5fe3fad0420b507d95;hb=daf6e4801052d3ca6be2fafd20bae2323b1ce175;hp=16b42fc0d0b870c8b23433ceaa9cd41b3f0353c5;hpb=d5692d4088cdd9fde3be6ff34be8ce2816dab0cf;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/validators/redundancy.ts b/server/middlewares/validators/redundancy.ts index 16b42fc0d..8cd3bc33d 100644 --- a/server/middlewares/validators/redundancy.ts +++ b/server/middlewares/validators/redundancy.ts @@ -106,7 +106,7 @@ const listVideoRedundanciesValidator = [ query('target') .custom(isVideoRedundancyTarget).withMessage('Should have a valid video redundancies target'), - async (req: express.Request, res: express.Response, next: express.NextFunction) => { + (req: express.Request, res: express.Response, next: express.NextFunction) => { logger.debug('Checking listVideoRedundanciesValidator parameters', { parameters: req.query }) if (areValidationErrors(req, res)) return