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: Allow passing a custom lock function to supabase client #1256

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

christophby
Copy link
Contributor

@christophby christophby commented Aug 6, 2024

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

You cannot pass a custom lock function to createClient. It's currently being lost in the _initSupabaseAuthClient() function. The lock parameter is not being used.

What is the new behavior?

A custom lock function will be used (and correctly passed to the GoTrueClient) inside the _initSupabaseAuthClient() function.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10265197095

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 66.038%

Totals Coverage Status
Change from base Build 10139249815: 0.0%
Covered Lines: 99
Relevant Lines: 129

💛 - Coveralls

@J0 J0 merged commit 377f3b3 into supabase:master Aug 6, 2024
1 check passed
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.

3 participants