1
0
Fork 0
peertube/server/middlewares/reqValidators/index.js

18 lines
476 B
JavaScript
Raw Normal View History

'use strict'
2015-11-07 08:16:26 -05:00
const paginationReqValidators = require('./pagination')
2016-03-16 17:29:27 -04:00
const podsReqValidators = require('./pods')
const remoteReqValidators = require('./remote')
const videosReqValidators = require('./videos')
2016-02-07 05:47:30 -05:00
2016-03-16 17:29:27 -04:00
const reqValidators = {
pagination: paginationReqValidators,
2016-02-07 05:47:30 -05:00
pods: podsReqValidators,
remote: remoteReqValidators,
videos: videosReqValidators
}
2015-11-07 08:16:26 -05:00
// ---------------------------------------------------------------------------
2016-01-31 05:23:52 -05:00
module.exports = reqValidators