Skip to content

Commit

Permalink
add failure data when edit request money
Browse files Browse the repository at this point in the history
  • Loading branch information
namhihi237 committed Sep 19, 2023
1 parent 0680e5d commit 32979b0
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 @@ -1145,7 +1145,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 32979b0

Please sign in to comment.