Skip to content

Commit 76217a4

Browse files
authored
Merge pull request #1344 from raghavyuva/fix/nullish-coalescing-operator
fix(lint): nullish coalescing operator issue in hasCustomAuthorizationHeader
2 parents a50725d + e8cffda commit 76217a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SupabaseClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export default class SupabaseClient<
308308
fetch,
309309
// auth checks if there is a custom authorizaiton header using this flag
310310
// so it knows whether to return an error when getUser is called with no session
311-
hasCustomAuthorizationHeader: 'Authorization' in this.headers ?? false,
311+
hasCustomAuthorizationHeader: 'Authorization' in this.headers,
312312
})
313313
}
314314

0 commit comments

Comments
 (0)