aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-13 09:48:34 +0200
committerChocobozzz <me@florianbigard.com>2018-09-13 09:48:34 +0200
commit662fb3ab5e3aafa49c96809a61239c9046a5c485 (patch)
treef79b116292d7c6a514a9d1cbdf5491766ec6ad39 /server/middlewares/validators
parent4035d2b6e937e13cd10cf88ed0e89cb579dd86ee (diff)
downloadPeerTube-662fb3ab5e3aafa49c96809a61239c9046a5c485.tar.gz
PeerTube-662fb3ab5e3aafa49c96809a61239c9046a5c485.tar.zst
PeerTube-662fb3ab5e3aafa49c96809a61239c9046a5c485.zip
Fix feeds with channel filter
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r--server/middlewares/validators/feeds.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/feeds.ts b/server/middlewares/validators/feeds.ts
index c1054ad9b..969ce2526 100644
--- a/server/middlewares/validators/feeds.ts
+++ b/server/middlewares/validators/feeds.ts
@@ -23,7 +23,7 @@ const videoFeedsValidator = [
23 if (areValidationErrors(req, res)) return 23 if (areValidationErrors(req, res)) return
24 24
25 if (req.query.accountId && !await isAccountIdExist(req.query.accountId, res)) return 25 if (req.query.accountId && !await isAccountIdExist(req.query.accountId, res)) return
26 if (req.query.videoChannelName && !await isVideoChannelIdExist(req.query.videoChannelName, res)) return 26 if (req.query.videoChannelId && !await isVideoChannelIdExist(req.query.videoChannelId, res)) return
27 if (req.query.accountName && !await isAccountNameWithHostExist(req.query.accountName, res)) return 27 if (req.query.accountName && !await isAccountNameWithHostExist(req.query.accountName, res)) return
28 if (req.query.videoChannelName && !await isVideoChannelNameWithHostExist(req.query.videoChannelName, res)) return 28 if (req.query.videoChannelName && !await isVideoChannelNameWithHostExist(req.query.videoChannelName, res)) return
29 29