Skip to content

Commit fd24f19

Browse files
fix: update schema arg
1 parent 071f696 commit fd24f19

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?.schema,
106+
schema: options?.db?.schema ?? '',
107107
fetch: this.fetch,
108108
throwOnError: this.shouldThrowOnError,
109109
})

0 commit comments

Comments
 (0)