Skip to content

Commit

Permalink
fix(makeFetcher): include requestTransformer headers (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamandrewluca authored Jan 31, 2024
1 parent ca62ff2 commit 2005601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function makeFetcher(baseURL: string | URL, baseOptions: BaseOptions = {}) {
...ri,
headers: mergeHeaders(
typeof headers === 'function' ? await headers() : headers ?? {},
ri.headers ?? {},
requestInit?.headers ?? {},
),
})
Expand Down

0 comments on commit 2005601

Please sign in to comment.