Skip to content

Commit 4705e11

Browse files
committed
fix linting
1 parent 39c05d5 commit 4705e11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/utils/sdkProcessingMetadata.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Request, ScopeData } from '@sentry/types';
1+
import type { RequestEventData, ScopeData } from '@sentry/types';
22
import { getIsolationScope } from '../currentScopes';
33

44
/**
@@ -35,13 +35,13 @@ export function mergeSdkProcessingMetadata(
3535
* By default, this will put this data on the isolation scope,
3636
* but you can also pass a different scope to set the data on.
3737
*/
38-
export function setRequestEventData(normalizedRequest: Request, scope = getIsolationScope()): void {
38+
export function setRequestEventData(normalizedRequest: RequestEventData, scope = getIsolationScope()): void {
3939
const normalizedRequestBefore = scope.getScopeData().sdkProcessingMetadata['normalizedRequest'];
4040

4141
const newNormalizedRequest = {
4242
...(normalizedRequestBefore || {}),
4343
...normalizedRequest,
44-
} satisfies Request;
44+
} satisfies RequestEventData;
4545

4646
scope.setSDKProcessingMetadata({ normalizedRequest: newNormalizedRequest });
4747
}

0 commit comments

Comments
 (0)