Skip to content

Commit

Permalink
Merge pull request #13625 from Expensify/revert-13522-alberto-setError
Browse files Browse the repository at this point in the history
Revert "Check hasOutstandingIOU in money requests"
  • Loading branch information
amyevans authored Jan 3, 2023
2 parents 2039b64 + a455dd3 commit 67ab1b4
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 @@ -65,7 +65,7 @@ function requestMoney(report, amount, currency, recipientEmail, participant, com
isNewChat = true;
}
let iouReport;
if (chatReport.hasOutstandingIOU && chatReport.iouReportID) {
if (chatReport.iouReportID) {
iouReport = IOUUtils.updateIOUOwnerAndTotal(
iouReports[`${ONYXKEYS.COLLECTION.REPORT}${chatReport.iouReportID}`],
recipientEmail,
Expand Down

0 comments on commit 67ab1b4

Please sign in to comment.