diff --git a/src/api.ts b/src/api.ts index 309516f..5501291 100644 --- a/src/api.ts +++ b/src/api.ts @@ -117,6 +117,7 @@ function makeFetcher(baseURL: string | URL, baseOptions: BaseOptions = {}) { ...ri, headers: mergeHeaders( typeof headers === 'function' ? await headers() : headers ?? {}, + ri.headers ?? {}, requestInit?.headers ?? {}, ), })