Skip to content

Commit

Permalink
Merge pull request #27758 from namhihi237/fix-26880-show-message-when…
Browse files Browse the repository at this point in the history
…-change-request-money-has-paid

add failure data when edit request money
  • Loading branch information
roryabraham authored Sep 20, 2023
2 parents a190e80 + 32979b0 commit 5f06b36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,9 @@ function editMoneyRequest(transactionID, transactionThreadReportID, transactionC
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${transactionThread.reportID}`,
value: {
[updatedReportAction.reportActionID]: updatedReportAction,
[updatedReportAction.reportActionID]: {
errors: ErrorUtils.getMicroSecondOnyxError('iou.error.genericEditFailureMessage'),
},
},
},
{
Expand Down

0 comments on commit 5f06b36

Please sign in to comment.