mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
ESlint comma-dangle
This commit is contained in:
@@ -43,7 +43,7 @@ function isUserAllowedToCids(privilege, uid, cids, callback) {
|
||||
},
|
||||
hasGroupPrivilege: function (next) {
|
||||
groups.isMemberOfGroupsList(uid, groupKeys, next);
|
||||
}
|
||||
},
|
||||
}, function (err, results) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
@@ -75,7 +75,7 @@ function isUserAllowedToPrivileges(privileges, uid, cid, callback) {
|
||||
},
|
||||
hasGroupPrivilege: function (next) {
|
||||
groups.isMemberOfGroupsList(uid, groupKeys, next);
|
||||
}
|
||||
},
|
||||
}, function (err, results) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
@@ -98,7 +98,7 @@ helpers.isUsersAllowedTo = function (privilege, uids, cid, callback) {
|
||||
},
|
||||
hasGroupPrivilege: function (next) {
|
||||
groups.isMembersOfGroupList(uids, 'cid:' + cid + ':privileges:groups:' + privilege, next);
|
||||
}
|
||||
},
|
||||
}, function (err, results) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
|
||||
Reference in New Issue
Block a user