aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/admin.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
commitc4403b29ad4db097af528a7f04eea07e0ed320d0 (patch)
treec7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/middlewares/admin.js
parent9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff)
downloadPeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip
Server: remove useless hash affectations
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) {