diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 11:47:30 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 11:47:30 +0100 |
commit | a030a9b234d315c180f40d8abd177637c1a91f6a (patch) | |
tree | eadc4abd230e3b9e6f4e789b8f0249e164ddf572 /middlewares/reqValidators | |
parent | 9f10b2928df655c3672d9607e864e667d4bc903a (diff) | |
download | PeerTube-a030a9b234d315c180f40d8abd177637c1a91f6a.tar.gz PeerTube-a030a9b234d315c180f40d8abd177637c1a91f6a.tar.zst PeerTube-a030a9b234d315c180f40d8abd177637c1a91f6a.zip |
Require on the top of the files
Diffstat (limited to 'middlewares/reqValidators')
-rw-r--r-- | middlewares/reqValidators/index.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/middlewares/reqValidators/index.js b/middlewares/reqValidators/index.js index 344387a80..345dbd0e2 100644 --- a/middlewares/reqValidators/index.js +++ b/middlewares/reqValidators/index.js | |||
@@ -1,9 +1,13 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | var podsReqValidators = require('./pods') | ||
4 | var remoteReqValidators = require('./remote') | ||
5 | var videosReqValidators = require('./videos') | ||
6 | |||
3 | var reqValidators = { | 7 | var reqValidators = { |
4 | videos: require('./videos'), | 8 | pods: podsReqValidators, |
5 | pods: require('./pods'), | 9 | remote: remoteReqValidators, |
6 | remote: require('./remote') | 10 | videos: videosReqValidators |
7 | } | 11 | } |
8 | 12 | ||
9 | // --------------------------------------------------------------------------- | 13 | // --------------------------------------------------------------------------- |