We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 376689f commit 43986e6Copy full SHA for 43986e6
src/SupabaseClient.ts
@@ -177,7 +177,7 @@ export default class SupabaseClient {
177
}
178
179
private _getAuthHeaders(): { [key: string]: string } {
180
- const headers: { [key: string]: string } = {}
+ const headers: { [key: string]: string } = DEFAULT_HEADERS
181
const authBearer = this.auth.session()?.access_token ?? this.supabaseKey
182
headers['apikey'] = this.supabaseKey
183
headers['Authorization'] = `Bearer ${authBearer}`
0 commit comments