We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 651ff12 commit e8cffdaCopy full SHA for e8cffda
src/SupabaseClient.ts
@@ -308,7 +308,7 @@ export default class SupabaseClient<
308
fetch,
309
// auth checks if there is a custom authorizaiton header using this flag
310
// so it knows whether to return an error when getUser is called with no session
311
- hasCustomAuthorizationHeader: 'Authorization' in this.headers ?? false,
+ hasCustomAuthorizationHeader: 'Authorization' in this.headers,
312
})
313
}
314
0 commit comments