From f760e2e113dcdfc363b35180fc6709e76c790131 Mon Sep 17 00:00:00 2001 From: Jasper Huang Date: Tue, 22 Aug 2023 13:54:31 -0700 Subject: [PATCH] pass merchant back when editing money requests --- src/libs/actions/IOU.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js index 267b3eced25f..ee9afa8b0eb8 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -1032,7 +1032,7 @@ function editMoneyRequest(transactionID, transactionThreadReportID, transactionC ]; // STEP 6: Call the API endpoint - const {created, amount, currency, comment} = ReportUtils.getTransactionDetails(updatedTransaction); + const {created, amount, currency, comment, merchant} = ReportUtils.getTransactionDetails(updatedTransaction); API.write( 'EditMoneyRequest', { @@ -1042,6 +1042,7 @@ function editMoneyRequest(transactionID, transactionThreadReportID, transactionC amount, currency, comment, + merchant, }, {optimisticData, successData, failureData}, );