diff options
Diffstat (limited to 'server/middlewares/admin.js')
-rw-r--r-- | server/middlewares/admin.js | 2 |
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') | |||
4 | const logger = require('../helpers/logger') | 4 | const logger = require('../helpers/logger') |
5 | 5 | ||
6 | const adminMiddleware = { | 6 | const adminMiddleware = { |
7 | ensureIsAdmin: ensureIsAdmin | 7 | ensureIsAdmin |
8 | } | 8 | } |
9 | 9 | ||
10 | function ensureIsAdmin (req, res, next) { | 10 | function ensureIsAdmin (req, res, next) { |