PeerTube/server/middlewares/reqValidators/index.js

16 lines
381 B
JavaScript

'use strict'
const podsReqValidators = require('./pods')
const remoteReqValidators = require('./remote')
const videosReqValidators = require('./videos')
const reqValidators = {
pods: podsReqValidators,
remote: remoteReqValidators,
videos: videosReqValidators
}
// ---------------------------------------------------------------------------
module.exports = reqValidators