From 7749f8f378fd5dcad727e2b507a50ed99654fab3 Mon Sep 17 00:00:00 2001 From: 0xMochan Date: Thu, 13 Apr 2023 11:52:37 -0700 Subject: [PATCH] fix: headers bugs w/ non-subgraph apis --- subgrounds/subgrounds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgrounds/subgrounds.py b/subgrounds/subgrounds.py index 2f35d7e..99b0d1a 100644 --- a/subgrounds/subgrounds.py +++ b/subgrounds/subgrounds.py @@ -191,7 +191,7 @@ def execute_document(doc: Document) -> dict: ) else: return client.query( - doc.url, doc.graphql, variables=doc.variables, headers=headers + doc.url, doc.graphql, variables=doc.variables, headers=self.headers ) def transform_doc(transforms: list[DocumentTransform], doc: Document) -> dict: