mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-04 14:50:47 +01:00
closes #3805
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user