mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
fix: broken tests from 71b205a889
This commit is contained in:
@@ -55,6 +55,8 @@ module.exports = function (Groups) {
|
||||
};
|
||||
|
||||
Groups.removeCover = async function (data) {
|
||||
console.log('in removeCover', data);
|
||||
await db.deleteObjectFields('group:' + data.groupName, ['cover:url', 'cover:thumb:url', 'cover:position']);
|
||||
console.log('field deleted');
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user