Merge pull request #335 from coralproject/suspect-word-flag-reason

Fixed issue related to action create on suspect word match
This commit is contained in:
Wyatt Johnson
2017-02-23 14:14:46 -07:00
committed by GitHub
+2 -4
View File
@@ -150,10 +150,8 @@ const createPublicComment = (context, commentInput) => {
item_id: comment.id,
item_type: 'COMMENTS',
action_type: 'FLAG',
metadata: {
field: 'body',
details: 'Matched suspect word filters.'
}
group_id: 'Matched suspect word filter',
metadata: {}
})
.then(() => comment);
}