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 da2b0ba commit 41d6113Copy full SHA for 41d6113
src/SupabaseClient.ts
@@ -247,7 +247,7 @@ export default class SupabaseClient {
247
const headers: GenericObject = this.headers
248
const authBearer = this.auth.session()?.access_token ?? this.supabaseKey
249
headers['apikey'] = this.supabaseKey
250
- headers['Authorization'] = `Bearer ${authBearer}`
+ headers['Authorization'] = headers['Authorization'] || `Bearer ${authBearer}`
251
return headers
252
}
253
0 commit comments