fix: broken tests from 71b205a889

This commit is contained in:
Julian Lam
2019-08-14 15:19:00 -04:00
parent 1ce33faaea
commit f736f0b382
3 changed files with 16 additions and 9 deletions

View File

@@ -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');
};
};