Skip to content

Commit

Permalink
Update to use query property of the request method
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks committed Dec 7, 2023
1 parent 3818dba commit 34a3ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gotrue/_async/gotrue_admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ async def sign_out(self, jwt: str, scope: SignOutScope = "global") -> None:
"""
return await self._request(
"POST",
f"logout?scope={scope}",
"logout",
query={"scope": scope},
jwt=jwt,
no_resolve_json=True,
)
Expand Down
3 changes: 2 additions & 1 deletion gotrue/_sync/gotrue_admin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def sign_out(self, jwt: str, scope: SignOutScope = "global") -> None:
"""
return self._request(
"POST",
f"logout?scope={scope}",
"logout",
query={"scope": scope},
jwt=jwt,
no_resolve_json=True,
)
Expand Down

0 comments on commit 34a3ddf

Please sign in to comment.