diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-07-01 16:22:36 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-07-01 16:22:36 +0200 |
commit | 5f698b82c7055df763f3830882ac5bad1397db23 (patch) | |
tree | 97e2e8178a5c7eec8e8f0e0cfce9cff399452cdc /server/middlewares | |
parent | fc51fde048f2c3ce1dd3e85f5528335040bae894 (diff) | |
download | PeerTube-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.js | 2 | ||||
-rw-r--r-- | server/middlewares/validators/videos.js | 2 |
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 | ||
3 | const logger = require('../helpers/logger') | 3 | const logger = require('../helpers/logger') |
4 | const mongoose = require('mongoose') | 4 | const mongoose = require('mongoose') |
5 | const peertubeCrypto = require('../helpers/peertubeCrypto') | 5 | const peertubeCrypto = require('../helpers/peertube-crypto') |
6 | 6 | ||
7 | const Pod = mongoose.model('Pod') | 7 | const 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 | ||
5 | const checkErrors = require('./utils').checkErrors | 5 | const checkErrors = require('./utils').checkErrors |
6 | const constants = require('../../initializers/constants') | 6 | const constants = require('../../initializers/constants') |
7 | const customValidators = require('../../helpers/customValidators') | 7 | const customValidators = require('../../helpers/custom-validators') |
8 | const logger = require('../../helpers/logger') | 8 | const logger = require('../../helpers/logger') |
9 | 9 | ||
10 | const Video = mongoose.model('Video') | 10 | const Video = mongoose.model('Video') |