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 1964793 commit 4dece6bCopy full SHA for 4dece6b
src/SupabaseClient.ts
@@ -256,7 +256,7 @@ export default class SupabaseClient {
256
}
257
258
private _getAuthHeaders(): GenericObject {
259
- const headers: GenericObject = DEFAULT_HEADERS
+ const headers: GenericObject = this.headers
260
const authBearer = this.auth.session()?.access_token ?? this.supabaseKey
261
headers['apikey'] = this.supabaseKey
262
headers['Authorization'] = `Bearer ${authBearer}`
0 commit comments