Skip to content

Commit 458cdeb

Browse files
fix: change default to public
1 parent fd24f19 commit 458cdeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SupabaseClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default class SupabaseClient<
103103
this.realtime = this._initRealtimeClient({ headers: this.headers, ...settings.realtime })
104104
this.rest = new PostgrestClient(`${_supabaseUrl}/rest/v1`, {
105105
headers: this.headers,
106-
schema: options?.db?.schema ?? '',
106+
schema: options?.db?.schema ?? 'public',
107107
fetch: this.fetch,
108108
throwOnError: this.shouldThrowOnError,
109109
})

0 commit comments

Comments
 (0)