diff options
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') |