style: format enterprise profile mapping line for prettier

This commit is contained in:
Jackwwg83
2026-02-14 10:22:03 +08:00
parent 0dacab0d51
commit a8afb1523b

View File

@@ -2119,7 +2119,9 @@ class ClaudeAccountService {
organizationType: profileData.organization?.organization_type
})
const organizationType = String(profileData.organization?.organization_type || '').toLowerCase()
const organizationType = String(
profileData.organization?.organization_type || ''
).toLowerCase()
const isEnterpriseOrg = organizationType === 'claude_enterprise'
const hasClaudeMax = profileData.account?.has_claude_max === true || isEnterpriseOrg
const hasClaudePro = profileData.account?.has_claude_pro === true && !hasClaudeMax