Skip to content

Commit

Permalink
Merge pull request #49535 from Expensify/nat-policyaccount
Browse files Browse the repository at this point in the history
Fix policyaccount domain lowercase
  • Loading branch information
nkuoch authored Sep 20, 2024
2 parents c666296 + 35ab86d commit 13b0ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/PolicyUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ function getDomainNameForPolicy(policyID?: string): string {
return '';
}

return `${CONST.EXPENSIFY_POLICY_DOMAIN}${policyID}${CONST.EXPENSIFY_POLICY_DOMAIN_EXTENSION}`;
return `${CONST.EXPENSIFY_POLICY_DOMAIN}${policyID.toLowerCase()}${CONST.EXPENSIFY_POLICY_DOMAIN_EXTENSION}`;
}

function getWorkflowApprovalsUnavailable(policy: OnyxEntry<Policy>) {
Expand Down

0 comments on commit 13b0ef7

Please sign in to comment.