aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/reqValidators/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-13 18:10:46 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-13 18:10:46 +0200
commitfbf1134e3e6b386c9ec5a3946c61f3faf84397fb (patch)
tree9071ea72c86e83bb07d8ec681a54daff2e0eb7b9 /server/middlewares/reqValidators/index.js
parentf67e976fdccbfe6432c1176148d194c980a5585a (diff)
downloadPeerTube-fbf1134e3e6b386c9ec5a3946c61f3faf84397fb.tar.gz
PeerTube-fbf1134e3e6b386c9ec5a3946c61f3faf84397fb.tar.zst
PeerTube-fbf1134e3e6b386c9ec5a3946c61f3faf84397fb.zip
Introduce paginations in videos listing
Diffstat (limited to 'server/middlewares/reqValidators/index.js')
-rw-r--r--server/middlewares/reqValidators/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/middlewares/reqValidators/index.js b/server/middlewares/reqValidators/index.js
index c6c5e1309..b732a27b6 100644
--- a/server/middlewares/reqValidators/index.js
+++ b/server/middlewares/reqValidators/index.js
@@ -1,10 +1,12 @@
1'use strict' 1'use strict'
2 2
3const paginationReqValidators = require('./pagination')
3const podsReqValidators = require('./pods') 4const podsReqValidators = require('./pods')
4const remoteReqValidators = require('./remote') 5const remoteReqValidators = require('./remote')
5const videosReqValidators = require('./videos') 6const videosReqValidators = require('./videos')
6 7
7const reqValidators = { 8const reqValidators = {
9 pagination: paginationReqValidators,
8 pods: podsReqValidators, 10 pods: podsReqValidators,
9 remote: remoteReqValidators, 11 remote: remoteReqValidators,
10 videos: videosReqValidators 12 videos: videosReqValidators