mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 09:42:04 +08:00
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