Skip to content

Commit e77e971

Browse files
committed
fix: Pass installation ID for correct type of api keys from env to usage report
1 parent e1bcb05 commit e77e971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

premium/usage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ func (u *BatchUpdater) getTeamNameByTokenType(tokenType auth.TokenType) (string,
730730

731731
func determineInstallationID(tokenType auth.TokenType) string {
732732
switch tokenType {
733-
case auth.SyncRunAPIKey, auth.SyncTestConnectionAPIKey:
733+
case auth.APIKey:
734734
return os.Getenv("_CQ_INSTALLATION_ID")
735735
default:
736736
return ""

0 commit comments

Comments
 (0)