This commit is contained in:
Barış Soner Uşaklı
2017-05-26 23:21:46 -04:00
parent dcf3db104b
commit 3d1b1a9423
8 changed files with 48 additions and 39 deletions

View File

@@ -120,7 +120,7 @@ Categories.getCategoriesByPrivilege = function (set, uid, privilege, callback) {
Categories.getModerators = function (cid, callback) {
async.waterfall([
function (next) {
Groups.getMembers('cid:' + cid + ':privileges:mods', 0, -1, next);
Groups.getMembers('cid:' + cid + ':privileges:moderate', 0, -1, next);
},
function (uids, next) {
if (!Array.isArray(uids) || !uids.length) {