Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove unnecessary async to on_auth_state_change #374

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

masylum
Copy link
Contributor

@masylum masylum commented Nov 28, 2023

What kind of change does this PR introduce?

It fixes on_auth_state_change not be async. Somehow it got reverted on a refactor (e7ebc64)

What is the current behavior?

It was async.

What is the new behavior?

It's not async anymore.

Additional context

This causes problems when using the supabase client, since it's not being awaited: https://github.com/supabase-community/supabase-py/blob/main/supabase/_async/client.py#L90

Somehow this got reverted on a refactor (supabase-community@e7ebc64)

This causes problems when using the supabase client, since it's not being awaited:
https://github.com/supabase-community/supabase-py/blob/main/supabase/_async/client.py#L90
Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fbddd6d) 45.37% compared to head (7548d02) 45.37%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #374   +/-   ##
=======================================
  Coverage   45.37%   45.37%           
=======================================
  Files          23       23           
  Lines        1955     1955           
=======================================
  Hits          887      887           
  Misses       1068     1068           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@silentworks silentworks merged commit 574c739 into supabase-community:main Nov 29, 2023
8 checks passed
@silentworks
Copy link
Contributor

Thank you for this PR.

@masylum masylum deleted the patch-1 branch November 30, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants