File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/core/src/integrations Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ const DEFAULT_OPTIONS = {
5656const INTEGRATION_NAME = 'RequestData' ;
5757
5858const _requestDataIntegration = ( ( options : RequestDataIntegrationOptions = { } ) => {
59- const _addRequestData = addRequestDataToEvent ;
6059 const _options : Required < RequestDataIntegrationOptions > = {
6160 ...DEFAULT_OPTIONS ,
6261 ...options ,
@@ -94,7 +93,7 @@ const _requestDataIntegration = ((options: RequestDataIntegrationOptions = {}) =
9493
9594 const addRequestDataOptions = convertReqDataIntegrationOptsToAddReqDataOpts ( _options ) ;
9695
97- const processedEvent = _addRequestData ( event , req , addRequestDataOptions ) ;
96+ const processedEvent = addRequestDataToEvent ( event , req , addRequestDataOptions ) ;
9897
9998 // Transaction events already have the right `transaction` value
10099 if ( event . type === 'transaction' || transactionNamingScheme === 'handler' ) {
@@ -176,7 +175,7 @@ function convertReqDataIntegrationOptsToAddReqDataOpts(
176175 include : { ip, user, ...requestOptions } ,
177176 } = integrationOptions ;
178177
179- const requestIncludeKeys : string [ ] = [ ] ;
178+ const requestIncludeKeys : string [ ] = [ 'method' ] ;
180179 for ( const [ key , value ] of Object . entries ( requestOptions ) ) {
181180 if ( value ) {
182181 requestIncludeKeys . push ( key ) ;
You can’t perform that action at this time.
0 commit comments