aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-01 16:22:36 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-01 16:22:36 +0200
commit5f698b82c7055df763f3830882ac5bad1397db23 (patch)
tree97e2e8178a5c7eec8e8f0e0cfce9cff399452cdc /server/middlewares
parentfc51fde048f2c3ce1dd3e85f5528335040bae894 (diff)
downloadPeerTube-5f698b82c7055df763f3830882ac5bad1397db23.tar.gz
PeerTube-5f698b82c7055df763f3830882ac5bad1397db23.tar.zst
PeerTube-5f698b82c7055df763f3830882ac5bad1397db23.zip
Use dashes for filenames
Diffstat (limited to 'server/middlewares')
-rw-r--r--server/middlewares/secure.js2
-rw-r--r--server/middlewares/validators/videos.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/middlewares/secure.js b/server/middlewares/secure.js
index fbaf4d0f2..9779c14ac 100644
--- a/server/middlewares/secure.js
+++ b/server/middlewares/secure.js
@@ -2,7 +2,7 @@
2 2
3const logger = require('../helpers/logger') 3const logger = require('../helpers/logger')
4const mongoose = require('mongoose') 4const mongoose = require('mongoose')
5const peertubeCrypto = require('../helpers/peertubeCrypto') 5const peertubeCrypto = require('../helpers/peertube-crypto')
6 6
7const Pod = mongoose.model('Pod') 7const Pod = mongoose.model('Pod')
8 8
diff --git a/server/middlewares/validators/videos.js b/server/middlewares/validators/videos.js
index 24e2299dc..3e2af06fb 100644
--- a/server/middlewares/validators/videos.js
+++ b/server/middlewares/validators/videos.js
@@ -4,7 +4,7 @@ const mongoose = require('mongoose')
4 4
5const checkErrors = require('./utils').checkErrors 5const checkErrors = require('./utils').checkErrors
6const constants = require('../../initializers/constants') 6const constants = require('../../initializers/constants')
7const customValidators = require('../../helpers/customValidators') 7const customValidators = require('../../helpers/custom-validators')
8const logger = require('../../helpers/logger') 8const logger = require('../../helpers/logger')
9 9
10const Video = mongoose.model('Video') 10const Video = mongoose.model('Video')