mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
fix style
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = function (middleware) {
|
|||||||
|
|
||||||
user.isAdminOrGlobalMod(req.uid, next);
|
user.isAdminOrGlobalMod(req.uid, next);
|
||||||
},
|
},
|
||||||
function(allowed, next) {
|
function (allowed, next) {
|
||||||
if (allowed) {
|
if (allowed) {
|
||||||
return next(null, allowed);
|
return next(null, allowed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user