fix: removed console.logs

This commit is contained in:
Julian Lam
2019-08-14 15:20:13 -04:00
parent f736f0b382
commit c44bf48c01
3 changed files with 0 additions and 5 deletions

View File

@@ -55,8 +55,6 @@ 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');
};
};

View File

@@ -329,7 +329,6 @@ SocketGroups.cover.remove = async (socket, data) => {
}
await canModifyGroup(socket.uid, data.groupName);
console.log('calling groups.removeCover');
await groups.removeCover(data);
};