From 76c222dbedf2a5434c4c7d9f085acf6141a6cb1d Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 11 Sep 2018 16:50:10 -0600 Subject: [PATCH] fix: linting --- src/core/server/services/comments/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/server/services/comments/index.ts b/src/core/server/services/comments/index.ts index a2317edb8..5db49c751 100644 --- a/src/core/server/services/comments/index.ts +++ b/src/core/server/services/comments/index.ts @@ -1,8 +1,8 @@ import { Db } from "mongodb"; import { Omit } from "talk-common/types"; -import { GQLACTION_ITEM_TYPE } from "talk-server/graph/tenant/schema/__generated__/types"; import { + ACTION_ITEM_TYPE, CreateActionInput, createActions, generateActionCounts, @@ -79,7 +79,7 @@ export async function create( (action): CreateActionInput => ({ ...action, item_id: comment.id, - item_type: GQLACTION_ITEM_TYPE.COMMENTS, + item_type: ACTION_ITEM_TYPE.COMMENTS, }) );