diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-16 22:29:27 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-16 22:29:27 +0100 |
commit | f0f5567b6918fc60c8cab15e13aec03a89a91dfb (patch) | |
tree | 99dfdb9fa8273c9cda1360fd3b6bfccc515bf8be /server/middlewares/reqValidators/index.js | |
parent | 5101105ef91bfe478f97546b78b321882da2079c (diff) | |
download | PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.tar.gz PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.tar.zst PeerTube-f0f5567b6918fc60c8cab15e13aec03a89a91dfb.zip |
Use const/let now we use node 4.2
Diffstat (limited to 'server/middlewares/reqValidators/index.js')
-rw-r--r-- | server/middlewares/reqValidators/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/middlewares/reqValidators/index.js b/server/middlewares/reqValidators/index.js index 345dbd0e2..c6c5e1309 100644 --- a/server/middlewares/reqValidators/index.js +++ b/server/middlewares/reqValidators/index.js | |||
@@ -1,10 +1,10 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | var podsReqValidators = require('./pods') | 3 | const podsReqValidators = require('./pods') |
4 | var remoteReqValidators = require('./remote') | 4 | const remoteReqValidators = require('./remote') |
5 | var videosReqValidators = require('./videos') | 5 | const videosReqValidators = require('./videos') |
6 | 6 | ||
7 | var reqValidators = { | 7 | const reqValidators = { |
8 | pods: podsReqValidators, | 8 | pods: podsReqValidators, |
9 | remote: remoteReqValidators, | 9 | remote: remoteReqValidators, |
10 | videos: videosReqValidators | 10 | videos: videosReqValidators |