Skip to content

Commit dccbb3e

Browse files
committed
fix bad test
1 parent beded07 commit dccbb3e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/src/integrations/requestdata.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const DEFAULT_OPTIONS = {
5050
email: true,
5151
},
5252
},
53-
transactionNamingScheme: 'methodPath',
53+
transactionNamingScheme: 'methodPath' as const,
5454
};
5555

5656
const INTEGRATION_NAME = 'RequestData';
@@ -61,9 +61,6 @@ const _requestDataIntegration = ((options: RequestDataIntegrationOptions = {}) =
6161
...DEFAULT_OPTIONS,
6262
...options,
6363
include: {
64-
// @ts-expect-error It's mad because `method` isn't a known `include` key. (It's only here and not set by default in
65-
// `addRequestDataToEvent` for legacy reasons. TODO (v8): Change that.)
66-
method: true,
6764
...DEFAULT_OPTIONS.include,
6865
...options.include,
6966
user:

0 commit comments

Comments
 (0)