Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Fixed subscriptions authorization
Andrew Bastinec5739242432
diff --git a/helpers/apollo.ts b/helpers/apollo.tsindex e1035fd7e..719b885ed 100644--- a/helpers/apollo.ts+++ b/helpers/apollo.ts@@ -50,11 +50,12 @@ const wsLink = new WebSocketLink({? "wss://api.hoppscotch.io/graphql": "wss://api.hoppscotch.io/graphql",options: {+ lazy: true,+ reconnect: true,+ timeout: 300,connectionParams: () => {return {- headers: {- authorization: `Bearer ${authToken}`- }+ authorization: `Bearer ${authToken}`}}}