We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a50725d + e8cffda commit 76217a4Copy full SHA for 76217a4
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