From f35964458915c5b991a3afa9340acf033c24dd9b Mon Sep 17 00:00:00 2001 From: Yuwen Memon Date: Wed, 30 Aug 2023 15:23:14 -0700 Subject: [PATCH] Merge pull request #26352 from Expensify/youssef_fix_pay_money_request_optimistic_status Set optimistic report status correctly in payMoneyRequest (cherry picked from commit ebeff23042ac71ef1e3867ae04447bd49fc4b49f) --- src/libs/actions/IOU.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js index 3e76035cdcf0..bf00a030c115 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -1562,7 +1562,7 @@ function getPayMoneyRequestParams(chatReport, iouReport, recipient, paymentMetho lastMessageText: optimisticIOUReportAction.message[0].text, lastMessageHtml: optimisticIOUReportAction.message[0].html, hasOutstandingIOU: false, - stateNum: CONST.REPORT.STATE_NUM.SUBMITTED, + statusNum: CONST.REPORT.STATUS.REIMBURSED, }, }, {