mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 14:20:14 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user