From 752932ef3d7811cbda307eeb2faa6f4310e237e1 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Sat, 11 Sep 2021 21:01:48 +0530 Subject: [PATCH] fix: gql headers not passed properly --- helpers/GQLConnection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({