From eaab4340b5f7c38854cf75d378ca68781cc75ece Mon Sep 17 00:00:00 2001 From: Adrian Rangel Date: Wed, 30 Oct 2024 17:36:23 -0600 Subject: [PATCH] Update README.md Add `Bearer` on documentation as typically it's use with the `Authorization` header --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dfe193..013ca59 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ gql.addEnvironment( 'dev', url=os.environ.get('API'), # should be an https url wss=os.environ.get('WSS'), # should be an ws/wss url - headers={'Authorization': os.environ.get('TOKEN')}, + headers={'Authorization': f"Bearer {os.environ.get('TOKEN')}"}, default=True) ```