File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/node/src/integrations Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,10 @@ export class RequestData implements Integration {
158
158
function convertReqDataIntegrationOptsToAddReqDataOpts (
159
159
integrationOptions : RequestDataIntegrationOptions ,
160
160
) : AddRequestDataToEventOptions {
161
- const { ip, user, ...requestOptions } = integrationOptions . include ;
161
+ const {
162
+ transactionNamingScheme,
163
+ include : { ip, user, ...requestOptions } ,
164
+ } = integrationOptions ;
162
165
163
166
const requestIncludeKeys : string [ ] = [ ] ;
164
167
for ( const [ key , value ] of Object . entries ( requestOptions ) ) {
@@ -187,6 +190,7 @@ function convertReqDataIntegrationOptsToAddReqDataOpts(
187
190
ip,
188
191
user : addReqDataUserOpt ,
189
192
request : requestIncludeKeys . length !== 0 ? requestIncludeKeys : undefined ,
193
+ transaction : transactionNamingScheme ,
190
194
} ,
191
195
} ;
192
196
}
You can’t perform that action at this time.
0 commit comments