diff --git a/src/groups/update.js b/src/groups/update.js index a92ed3bc2b..a47198cb19 100644 --- a/src/groups/update.js +++ b/src/groups/update.js @@ -104,7 +104,9 @@ module.exports = function(Groups) { async.parallel([ async.apply(db.setObjectField, 'group:' + groupName, 'hidden', hidden ? 1 : 0), async.apply(updateVisibility, groupName, hidden) - ], callback); + ], function(err) { + callback(err); + }); } Groups.updateCoverPosition = function(groupName, position, callback) {