This commit is contained in:
Julian Lam
2017-07-07 12:10:42 -04:00
parent 09621a3a3d
commit 121a629de6
2 changed files with 3 additions and 3 deletions

View File

@@ -298,7 +298,7 @@ User.getModeratorUids = function (callback) {
}, { working: [], regular: [] });
groups.getMembersOfGroups(sets.working, function (err, memberSets) {
next(null, sets.regular.concat(memberSets));
next(err, sets.regular.concat(memberSets || []));
});
},
function (memberSets, next) {