Skip to content

Commit b93592e

Browse files
committed
simplify
1 parent ab9e996 commit b93592e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/util/telemetryHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export class TelemetryHelper {
448448
client
449449
.sendTelemetryEvent({
450450
telemetryEvent: { userTriggerDecisionEvent: userTriggerDecisionEvent },
451-
profileArn: AuthUtil.instance.regionProfileManager.activeRegionProfile?.arn,
451+
profileArn: profile?.arn,
452452
})
453453
.catch((error) => {
454454
const requestId = isAwsError(error) ? error.requestId : undefined

0 commit comments

Comments
 (0)