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/validators/users.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/validators/users.js')
-rw-r--r-- | server/middlewares/validators/users.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/middlewares/validators/users.js b/server/middlewares/validators/users.js index 5defdf4e3..d541e9124 100644 --- a/server/middlewares/validators/users.js +++ b/server/middlewares/validators/users.js | |||
@@ -8,9 +8,9 @@ const logger = require('../../helpers/logger') | |||
8 | const User = mongoose.model('User') | 8 | const User = mongoose.model('User') |
9 | 9 | ||
10 | const validatorsUsers = { | 10 | const validatorsUsers = { |
11 | usersAdd: usersAdd, | 11 | usersAdd, |
12 | usersRemove: usersRemove, | 12 | usersRemove, |
13 | usersUpdate: usersUpdate | 13 | usersUpdate |
14 | } | 14 | } |
15 | 15 | ||
16 | function usersAdd (req, res, next) { | 16 | function usersAdd (req, res, next) { |