From 19a709c36084291c6f264e264a68c3db5e589f0b Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Wed, 3 Feb 2016 11:30:09 +0100 Subject: [PATCH] remove console.log statements --- website/src/models/group.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/website/src/models/group.js b/website/src/models/group.js index 9e0a1b7a52..cab711d4a6 100644 --- a/website/src/models/group.js +++ b/website/src/models/group.js @@ -144,10 +144,8 @@ schema.statics.getGroup = function getGroup (options = {}) { // Not putting into toJSON because there we can't access user schema.statics.toJSONCleanChat = function groupToJSONCleanChat (group, user) { let toJSON = group.toJSON(); - console.log(group.chat, toJSON.chat) if (!user.contributor.admin) { _.remove(toJSON.chat, chatMsg => { - console.log(chatMsg) chatMsg.flags = {}; return chatMsg.flagCount >= 2; });