We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9e8f38 commit 5e01be3Copy full SHA for 5e01be3
packages/core/src/fetch.ts
@@ -123,7 +123,7 @@ export function addTracingHeadersToFetchRequest(
123
request: string | unknown, // unknown is actually type Request but we can't export DOM types from this package,
124
client: Client,
125
scope: Scope,
126
- options: {
+ fetchOptionsObj: {
127
headers?:
128
| {
129
[key: string]: string[] | string | undefined;
@@ -146,7 +146,7 @@ export function addTracingHeadersToFetchRequest(
146
);
147
148
const headers =
149
- options.headers ||
+ fetchOptionsObj.headers ||
150
(typeof Request !== 'undefined' && isInstanceOf(request, Request) ? (request as Request).headers : undefined);
151
152
if (!headers) {
0 commit comments