Skip to content

Commit

Permalink
fix: change default to public
Browse files Browse the repository at this point in the history
  • Loading branch information
joel@joellee.org committed Jun 22, 2022
1 parent fd24f19 commit 458cdeb
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?.db?.schema ?? '',
schema: options?.db?.schema ?? 'public',
fetch: this.fetch,
throwOnError: this.shouldThrowOnError,
})
Expand Down

0 comments on commit 458cdeb

Please sign in to comment.