Skip to content

Commit

Permalink
Merge branch 'j0/add_docs' of github.com:supabase-community/gotrue-py…
Browse files Browse the repository at this point in the history
… into j0/add_docs
  • Loading branch information
joel@joellee.org committed Oct 30, 2022
2 parents 33cefba + 7482f1a commit 798ef1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gotrue/_async/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,7 @@ def _create_request_headers(self, *, jwt: str) -> Dict[str, str]:
The headers required for a successful request statement with the
supabase backend.
"""
headers = {**self.headers}
headers["Authorization"] = f"Bearer {jwt}"
headers = {**self.headers, "Authorization": f"Bearer {jwt}"}
return headers

async def sign_out(self, *, jwt: str) -> None:
Expand Down

0 comments on commit 798ef1c

Please sign in to comment.