aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-20 10:04:06 +0200
committerChocobozzz <me@florianbigard.com>2021-10-20 10:04:06 +0200
commitc4c0c31144b2cb8b6ade1cc39d676bc00c08cabf (patch)
tree9a9e2c85646d0f4833b48da4a2d047d55b54ae1f /server/middlewares/validators
parent926bf5496fd3caa204b5d48a71b6028544d7d49e (diff)
downloadPeerTube-c4c0c31144b2cb8b6ade1cc39d676bc00c08cabf.tar.gz
PeerTube-c4c0c31144b2cb8b6ade1cc39d676bc00c08cabf.tar.zst
PeerTube-c4c0c31144b2cb8b6ade1cc39d676bc00c08cabf.zip
Fix my live videos filter
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r--server/middlewares/validators/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts
index 8f1a7801f..33b31d54b 100644
--- a/server/middlewares/validators/users.ts
+++ b/server/middlewares/validators/users.ts
@@ -330,7 +330,7 @@ const usersVideosValidator = [
330 .custom(isIdValid).withMessage('Should have a valid channel id'), 330 .custom(isIdValid).withMessage('Should have a valid channel id'),
331 331
332 async (req: express.Request, res: express.Response, next: express.NextFunction) => { 332 async (req: express.Request, res: express.Response, next: express.NextFunction) => {
333 logger.debug('Checking usersVideosValidator parameters', { parameters: req.params }) 333 logger.debug('Checking usersVideosValidator parameters', { parameters: req.query })
334 334
335 if (areValidationErrors(req, res)) return 335 if (areValidationErrors(req, res)) return
336 336