diff --git a/packages/hoppscotch-app/helpers/backend/GQLClient.ts b/packages/hoppscotch-app/helpers/backend/GQLClient.ts index 0a72b87cf..d2e11d468 100644 --- a/packages/hoppscotch-app/helpers/backend/GQLClient.ts +++ b/packages/hoppscotch-app/helpers/backend/GQLClient.ts @@ -67,7 +67,7 @@ const subscriptionClient = new SubscriptionClient( ) authIdToken$.subscribe(() => { - subscriptionClient.client.close() + subscriptionClient.client?.close() }) const createHoppClient = () =>