aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1/remoteVideos.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/v1/remoteVideos.js')
-rw-r--r--server/controllers/api/v1/remoteVideos.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/controllers/api/v1/remoteVideos.js b/server/controllers/api/v1/remoteVideos.js
index 7da9f0105..cc4bc41e2 100644
--- a/server/controllers/api/v1/remoteVideos.js
+++ b/server/controllers/api/v1/remoteVideos.js
@@ -5,7 +5,6 @@ const map = require('lodash/map')
5 5
6const middleware = require('../../../middlewares') 6const middleware = require('../../../middlewares')
7const secureMiddleware = middleware.secure 7const secureMiddleware = middleware.secure
8const cacheMiddleware = middleware.cache
9const reqValidator = middleware.reqValidators.remote 8const reqValidator = middleware.reqValidators.remote
10const logger = require('../../../helpers/logger') 9const logger = require('../../../helpers/logger')
11const Videos = require('../../../models/videos') 10const Videos = require('../../../models/videos')
@@ -17,7 +16,6 @@ router.post('/add',
17 reqValidator.secureRequest, 16 reqValidator.secureRequest,
18 secureMiddleware.decryptBody, 17 secureMiddleware.decryptBody,
19 reqValidator.remoteVideosAdd, 18 reqValidator.remoteVideosAdd,
20 cacheMiddleware.cache(false),
21 addRemoteVideos 19 addRemoteVideos
22) 20)
23 21
@@ -25,7 +23,6 @@ router.post('/remove',
25 reqValidator.secureRequest, 23 reqValidator.secureRequest,
26 secureMiddleware.decryptBody, 24 secureMiddleware.decryptBody,
27 reqValidator.remoteVideosRemove, 25 reqValidator.remoteVideosRemove,
28 cacheMiddleware.cache(false),
29 removeRemoteVideo 26 removeRemoteVideo
30) 27)
31 28