Merge pull request #1820 from hoppscotch/fix/gql-headers

fix: gql headers not passed properly (HOPP-55)
This commit is contained in:
Andrew Bastin 2021-09-11 21:15:17 +05:30 committed by GitHub
commit f3747edaa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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