There was an error while loading. Please reload this page.
2 parents 79d2a6d + 47d9d57 commit 0f0af7eCopy full SHA for 0f0af7e
graphqlclient/client.py
@@ -19,7 +19,7 @@ def _send(self, query, variables):
19
'Content-Type': 'application/json'}
20
21
if self.token is not None:
22
- headers['Authorization'] = 'Bearer {}'.format(self.token)
+ headers['Authorization'] = '{}'.format(self.token)
23
24
req = urllib.request.Request(self.endpoint, json.dumps(data).encode('utf-8'), headers)
25
0 commit comments