From 886a468993c5031b5d36aea8805dc11ef6f218bf Mon Sep 17 00:00:00 2001 From: PepeFranco Date: Tue, 31 Oct 2017 12:56:32 -0600 Subject: [PATCH] Reverting comment changes --- graph/mutators/action.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/graph/mutators/action.js b/graph/mutators/action.js index a5bf16051..cc1fc0030 100644 --- a/graph/mutators/action.js +++ b/graph/mutators/action.js @@ -41,10 +41,7 @@ const createAction = async ({user = {}, pubsub, loaders: {Comments}}, {item_id, } if (comment) { - let user = await UsersService.findById(comment.author_id); - if(!user.roles){ pubsub.publish('commentFlagged', comment); - } } return action;