diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
commit | c4403b29ad4db097af528a7f04eea07e0ed320d0 (patch) | |
tree | c7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/middlewares/admin.js | |
parent | 9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff) | |
download | PeerTube-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.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) { |