diff options
Diffstat (limited to 'server/middlewares/reqValidators/remote.js')
-rw-r--r-- | server/middlewares/reqValidators/remote.js | 4 |
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 | ||
12 | function remoteVideosAdd (req, res, next) { | 12 | function 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 | ||
21 | function remoteVideosRemove (req, res, next) { | 21 | function 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 | ||