fix: gql headers not passed properly

This commit is contained in:
Andrew Bastin
2021-09-11 21:01:48 +05:30
parent 917550ff4d
commit 752932ef3d

View File

@@ -195,7 +195,7 @@ export class GQLConnection {
method: "post", method: "post",
url, url,
headers: { headers: {
...headers, ...finalHeaders,
"content-type": "application/json", "content-type": "application/json",
}, },
data: JSON.stringify({ data: JSON.stringify({