aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/admin.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/admin.js')
-rw-r--r--server/middlewares/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/admin.js b/server/middlewares/admin.js
index bcb60ab95..e6d9dc887 100644
--- a/server/middlewares/admin.js
+++ b/server/middlewares/admin.js
@@ -4,7 +4,7 @@ const constants = require('../initializers/constants')
4const logger = require('../helpers/logger') 4const logger = require('../helpers/logger')
5 5
6const adminMiddleware = { 6const adminMiddleware = {
7 ensureIsAdmin: ensureIsAdmin 7 ensureIsAdmin
8} 8}
9 9
10function ensureIsAdmin (req, res, next) { 10function ensureIsAdmin (req, res, next) {