PeerTube/server/middlewares/reqValidators/index.js

16 lines
381 B
JavaScript
Raw Normal View History

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