Skip to content

Commit

Permalink
fix: remove unnecessary async to on_auth_state_change
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed Oct 18, 2021
1 parent 9c12bd1 commit e7ebc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gotrue/_async/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def _unsubscribe(self, id: str) -> None:
"""Unsubscribe from a subscription."""
self.state_change_emitters.pop(id)

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

0 comments on commit e7ebc64

Please sign in to comment.