mirror of
https://github.com/wassname/talk.git
synced 2026-08-05 13:30:26 +08:00
updated tests
This commit is contained in:
@@ -309,7 +309,7 @@ const createPublicComment = async (context, commentInput) => {
|
||||
// TODO: this is kind of fragile, we should refactor this to resolve
|
||||
// all these const's that we're using like 'COMMENTS', 'FLAG' to be
|
||||
// defined in a checkable schema.
|
||||
await ActionsService.insertUserAction({
|
||||
await ActionsService.create({
|
||||
item_id: comment.id,
|
||||
item_type: 'COMMENTS',
|
||||
action_type: 'FLAG',
|
||||
|
||||
Reference in New Issue
Block a user