From 668fcf18e053c722a6ae525b92c02781b2aa9008 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Wed, 28 Jun 2023 12:54:09 +0800 Subject: [PATCH] set default currency to user local currency --- src/libs/actions/Policy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js index bb76ad0742c2..bad48978b0e1 100644 --- a/src/libs/actions/Policy.js +++ b/src/libs/actions/Policy.js @@ -872,7 +872,7 @@ function createWorkspace(ownerEmail = '', makeMeAdmin = false, policyName = '', name: workspaceName, role: CONST.POLICY.ROLE.ADMIN, owner: sessionEmail, - outputCurrency: 'USD', + outputCurrency: lodashGet(personalDetails, [sessionAccountID, 'localCurrencyCode'], CONST.CURRENCY.USD), pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD, }, },