From 6653c554bda6502457bcf05da1b6d9626551d386 Mon Sep 17 00:00:00 2001 From: "Maxence Coulibaly (via MelvinBot)" Date: Wed, 27 May 2026 13:58:13 +0000 Subject: [PATCH] Pass policyID when issuing physical Expensify Cards The physical card branch in issueExpensifyCard() was not including policyID in the API parameters, causing Bedrock to resolve the workspace from domainAccountID instead of using the active policy. This led to users being auto-invited to the wrong workspace. Co-authored-by: Maxence Coulibaly --- src/libs/actions/Card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Card.ts b/src/libs/actions/Card.ts index 9749d0877e8a..8405172ddaf1 100644 --- a/src/libs/actions/Card.ts +++ b/src/libs/actions/Card.ts @@ -1474,7 +1474,7 @@ function issueExpensifyCard( if (cardType === CONST.EXPENSIFY_CARD.CARD_TYPE.PHYSICAL) { API.write( WRITE_COMMANDS.CREATE_EXPENSIFY_CARD, - {...parameters, feedCountry}, + {...parameters, feedCountry, policyID}, { optimisticData, successData,