fixed issue related to action create on suspect word match

This commit is contained in:
Wyatt Johnson
2017-02-22 10:33:47 -07:00
parent 07a956e582
commit 80706d2fdf
+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);
}