Skip to content

Commit

Permalink
Merge pull request #33880 from Pujan92/fix/33799
Browse files Browse the repository at this point in the history
Fix: IOU - No error message when changing amount of a paid request
  • Loading branch information
nkuoch authored Jan 4, 2024
2 parents 7e58f8a + 1271e8f commit d5741af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,10 @@ function getUpdateMoneyRequestParams(transactionID, transactionThreadReportID, t
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${transactionThread.reportID}`,
value: {
[updatedReportAction.reportActionID]: updatedReportAction,
[updatedReportAction.reportActionID]: {
...updatedReportAction,
errors: ErrorUtils.getMicroSecondOnyxError('iou.error.genericEditFailureMessage'),
},
},
});

Expand Down

0 comments on commit d5741af

Please sign in to comment.