aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/reqValidators/videos.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-16 22:29:27 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-16 22:29:27 +0100
commitf0f5567b6918fc60c8cab15e13aec03a89a91dfb (patch)
tree99dfdb9fa8273c9cda1360fd3b6bfccc515bf8be /server/middlewares/reqValidators/videos.js
parent5101105ef91bfe478f97546b78b321882da2079c (diff)
downloadPeerTube-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/videos.js')
-rw-r--r--server/middlewares/reqValidators/videos.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/middlewares/reqValidators/videos.js b/server/middlewares/reqValidators/videos.js
index b0a6d0360..4057e72cd 100644
--- a/server/middlewares/reqValidators/videos.js
+++ b/server/middlewares/reqValidators/videos.js
@@ -1,11 +1,11 @@
1'use strict' 1'use strict'
2 2
3var checkErrors = require('./utils').checkErrors 3const checkErrors = require('./utils').checkErrors
4var logger = require('../../helpers/logger') 4const logger = require('../../helpers/logger')
5var videos = require('../../lib/videos') 5const videos = require('../../lib/videos')
6var Videos = require('../../models/videos') 6const Videos = require('../../models/videos')
7 7
8var reqValidatorsVideos = { 8const reqValidatorsVideos = {
9 videosAdd: videosAdd, 9 videosAdd: videosAdd,
10 videosGet: videosGet, 10 videosGet: videosGet,
11 videosRemove: videosRemove, 11 videosRemove: videosRemove,