aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-21 09:54:46 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-21 09:54:46 +0200
commit6c1a098b4107cc923631d8cd94ed54c184fcec7d (patch)
treea7528c8dfb92aefbb50542c8e4bf267df9e695d7 /server/middlewares
parent4613274479968f58f62c63178c92c1391de84297 (diff)
downloadPeerTube-6c1a098b4107cc923631d8cd94ed54c184fcec7d.tar.gz
PeerTube-6c1a098b4107cc923631d8cd94ed54c184fcec7d.tar.zst
PeerTube-6c1a098b4107cc923631d8cd94ed54c184fcec7d.zip
Server: fix remote videos requests validator
Diffstat (limited to 'server/middlewares')
-rw-r--r--server/middlewares/validators/remote.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/middlewares/validators/remote.js b/server/middlewares/validators/remote.js
index 1be119458..87dc524a2 100644
--- a/server/middlewares/validators/remote.js
+++ b/server/middlewares/validators/remote.js
@@ -19,7 +19,6 @@ function dataToDecrypt (req, res, next) {
19} 19}
20 20
21function remoteVideos (req, res, next) { 21function remoteVideos (req, res, next) {
22 req.checkBody('data').isArray()
23 req.checkBody('data').isEachRemoteVideosValid() 22 req.checkBody('data').isEachRemoteVideosValid()
24 23
25 logger.debug('Checking remoteVideos parameters', { parameters: req.body }) 24 logger.debug('Checking remoteVideos parameters', { parameters: req.body })