Skip to content

Commit

Permalink
fix: remove unnecessary async to on_auth_state_change (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Smith authored Nov 29, 2023
2 parents abe3e2a + 7548d02 commit 574c739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gotrue/_async/gotrue_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ async def sign_out(self) -> None:
await self._remove_session()
self._notify_all_subscribers("SIGNED_OUT", None)

async def on_auth_state_change(
def on_auth_state_change(
self,
callback: Callable[[AuthChangeEvent, Union[Session, None]], None],
) -> Subscription:
Expand Down

0 comments on commit 574c739

Please sign in to comment.