aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
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')