Skip to content

Commit da2760b

Browse files
authored
Merge pull request #5749 from Expensify/ionatan_outputcurrency
Fix output currency
2 parents e484a75 + 0b8b878 commit da2760b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libs/actions/Policy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function getSimplifiedEmployeeList(employeeList) {
4646
* @param {String} fullPolicy.name
4747
* @param {String} fullPolicy.role
4848
* @param {String} fullPolicy.type
49-
* @param {String} fullPolicy.value.outputCurrency
49+
* @param {String} fullPolicy.outputCurrency
5050
* @param {Object} fullPolicy.value.employeeList
5151
* @param {String} [fullPolicy.value.avatarURL]
5252
* @returns {Object}
@@ -57,7 +57,7 @@ function getSimplifiedPolicyObject(fullPolicy) {
5757
name: fullPolicy.name,
5858
role: fullPolicy.role,
5959
type: fullPolicy.type,
60-
outputCurrency: lodashGet(fullPolicy, 'value.outputCurrency', ''),
60+
outputCurrency: fullPolicy.outputCurrency,
6161
employeeList: getSimplifiedEmployeeList(lodashGet(fullPolicy, 'value.employeeList')),
6262
avatarURL: lodashGet(fullPolicy, 'value.avatarURL', ''),
6363
};

0 commit comments

Comments
 (0)