Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: gql headers not passed properly

Andrew Bastin752932ef3d78
diff --git a/helpers/GQLConnection.ts b/helpers/GQLConnection.ts
index 4b2d4614f..2982819fa 100644
--- a/helpers/GQLConnection.ts
+++ b/helpers/GQLConnection.ts
@@ -195,7 +195,7 @@ export class GQLConnection {
method: "post",
url,
headers: {
- ...headers,
+ ...finalHeaders,
"content-type": "application/json",
},
data: JSON.stringify({