mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-07 04:51:26 +01:00
closes #5037
This commit is contained in:
@@ -124,7 +124,7 @@ module.exports = function(Groups) {
|
||||
}
|
||||
|
||||
Groups.removeCover = function(data, callback) {
|
||||
db.deleteObjectField('group:' + data.groupName, 'cover:url', callback);
|
||||
db.deleteObjectFields('group:' + data.groupName, ['cover:url', 'cover:thumb:url'], callback);
|
||||
};
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user