Reverting comment changes

This commit is contained in:
PepeFranco
2017-10-31 12:56:32 -06:00
parent de0dad6243
commit 886a468993
-3
View File
@@ -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;