Skip to content

Commit

Permalink
fix: update schema arg
Browse files Browse the repository at this point in the history
  • Loading branch information
joel@joellee.org committed Jun 22, 2022
1 parent 071f696 commit fd24f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SupabaseClient.ts
Expand Up @@ -103,7 +103,7 @@ export default class SupabaseClient<
this.realtime = this._initRealtimeClient({ headers: this.headers, ...settings.realtime })
this.rest = new PostgrestClient(`${_supabaseUrl}/rest/v1`, {
headers: this.headers,
schema: options?.schema,
schema: options?.db?.schema ?? '',
fetch: this.fetch,
throwOnError: this.shouldThrowOnError,
})
Expand Down

0 comments on commit fd24f19

Please sign in to comment.