Skip to content

Commit

Permalink
Merge pull request #26352 from Expensify/youssef_fix_pay_money_reques…
Browse files Browse the repository at this point in the history
…t_optimistic_status

Set optimistic report status correctly in payMoneyRequest

(cherry picked from commit ebeff23)
  • Loading branch information
yuwenmemon authored and OSBotify committed Aug 30, 2023
1 parent 6b46e80 commit f359644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
{
Expand Down

0 comments on commit f359644

Please sign in to comment.