This commit is contained in:
psychobunny
2015-10-28 16:17:27 -04:00
parent 13c1dbe178
commit ef20141e8f
4 changed files with 10 additions and 15 deletions

View File

@@ -104,9 +104,7 @@ module.exports = function(Groups) {
async.parallel([
async.apply(db.setObjectField, 'group:' + groupName, 'hidden', hidden ? 1 : 0),
async.apply(updateVisibility, groupName, hidden)
], function(err, results) {
callback(err);
});
], callback);
}
Groups.updateCoverPosition = function(groupName, position, callback) {