Skip to content

Commit aa1a482

Browse files
authored
fix(amazonq): fix to emit event for same region profile switch (aws#2320)
1 parent 8f30ac0 commit aa1a482

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/aws-lsp-codewhisperer/src/shared/amazonQServiceManager/AmazonQTokenServiceManager.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ export class AmazonQTokenServiceManager extends BaseAmazonQServiceManager<
430430
this.cachedStreamingClient.profileArn = newProfile.arn
431431
}
432432

433+
// Emit auth success event
434+
ProfileStatusMonitor.emitAuthSuccess()
435+
433436
return
434437
}
435438

0 commit comments

Comments
 (0)