updated tests

This commit is contained in:
Wyatt Johnson
2017-08-20 12:54:46 -06:00
parent 5036a2665a
commit 7125250cd6
6 changed files with 138 additions and 40 deletions
+1 -1
View File
@@ -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',