diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2015-11-07 14:16:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2015-11-07 14:16:26 +0100 |
commit | 34ca3b5225479a5da986c86ee4c42a73ae6df5ad (patch) | |
tree | 561ba5ae1adccd5729305a8cc17d13d24a0c2ddb /middlewares/reqValidators/index.js | |
parent | f5a60a5138135a3412dfbcfd6e564f7aa47a55c2 (diff) | |
download | PeerTube-34ca3b5225479a5da986c86ee4c42a73ae6df5ad.tar.gz PeerTube-34ca3b5225479a5da986c86ee4c42a73ae6df5ad.tar.zst PeerTube-34ca3b5225479a5da986c86ee4c42a73ae6df5ad.zip |
Add requests parameters validations
Diffstat (limited to 'middlewares/reqValidators/index.js')
-rw-r--r-- | middlewares/reqValidators/index.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/middlewares/reqValidators/index.js b/middlewares/reqValidators/index.js new file mode 100644 index 000000000..1ea611031 --- /dev/null +++ b/middlewares/reqValidators/index.js | |||
@@ -0,0 +1,11 @@ | |||
1 | ;(function () { | ||
2 | 'use strict' | ||
3 | |||
4 | var reqValidator = { | ||
5 | videos: require('./videos'), | ||
6 | pods: require('./pods'), | ||
7 | remote: require('./remote') | ||
8 | } | ||
9 | |||
10 | module.exports = reqValidator | ||
11 | })() | ||