aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/reqValidators/remote.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-06 14:15:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-06 14:15:03 +0200
commitbe587647f98a4b83ca06a61fe55c7ac5d60927c6 (patch)
tree8a28a1cb9c9a06d80803ecd3fa00aa6767bb3f8b /server/middlewares/reqValidators/remote.js
parent8483b2216454afdb88f6aa53cad5eecd8c394bc0 (diff)
downloadPeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.tar.gz
PeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.tar.zst
PeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.zip
Add tags support to server
Diffstat (limited to 'server/middlewares/reqValidators/remote.js')
-rw-r--r--server/middlewares/reqValidators/remote.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/middlewares/reqValidators/remote.js b/server/middlewares/reqValidators/remote.js
index 3bc0e0f40..b5f3118b0 100644
--- a/server/middlewares/reqValidators/remote.js
+++ b/server/middlewares/reqValidators/remote.js
@@ -11,7 +11,7 @@ const reqValidatorsRemote = {
11 11
12function remoteVideosAdd (req, res, next) { 12function remoteVideosAdd (req, res, next) {
13 req.checkBody('data').isArray() 13 req.checkBody('data').isArray()
14 req.checkBody('data').eachIsRemoteVideosAddValid() 14 req.checkBody('data').isEachAddRemoteVideosValid()
15 15
16 logger.debug('Checking remoteVideosAdd parameters', { parameters: req.body }) 16 logger.debug('Checking remoteVideosAdd parameters', { parameters: req.body })
17 17
@@ -20,7 +20,7 @@ function remoteVideosAdd (req, res, next) {
20 20
21function remoteVideosRemove (req, res, next) { 21function remoteVideosRemove (req, res, next) {
22 req.checkBody('data').isArray() 22 req.checkBody('data').isArray()
23 req.checkBody('data').eachIsRemoteVideosRemoveValid() 23 req.checkBody('data').isEachRemoveRemoteVideosValid()
24 24
25 logger.debug('Checking remoteVideosRemove parameters', { parameters: req.body }) 25 logger.debug('Checking remoteVideosRemove parameters', { parameters: req.body })
26 26