From 4f74cd8f89f7785886ef391680521987d867572a Mon Sep 17 00:00:00 2001 From: nivedin Date: Fri, 22 Dec 2023 12:07:17 +0530 Subject: [PATCH] chore: minor code update --- .../src/helpers/shortcode/ShortcodeListAdapter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/hoppscotch-common/src/helpers/shortcode/ShortcodeListAdapter.ts b/packages/hoppscotch-common/src/helpers/shortcode/ShortcodeListAdapter.ts index 5b02d985d..80e4b6e5e 100644 --- a/packages/hoppscotch-common/src/helpers/shortcode/ShortcodeListAdapter.ts +++ b/packages/hoppscotch-common/src/helpers/shortcode/ShortcodeListAdapter.ts @@ -156,6 +156,7 @@ export default class ShortcodeListAdapter { const [shortcodeCreated$, shortcodeCreatedSub] = runAuthOnlyGQLSubscription( { query: ShortcodeCreatedDocument, + variables: {}, } ) @@ -172,6 +173,7 @@ export default class ShortcodeListAdapter { const [shortcodeRevoked$, shortcodeRevokedSub] = runAuthOnlyGQLSubscription( { query: ShortcodeDeletedDocument, + variables: {}, } ) @@ -188,6 +190,7 @@ export default class ShortcodeListAdapter { const [shortcodeUpdated$, shortcodeUpdatedSub] = runAuthOnlyGQLSubscription( { query: ShortcodeUpdatedDocument, + variables: {}, } )