Skip to content

Commit

Permalink
Merge pull request #34593 from Expensify/vit-removeHasOutstandingIOU
Browse files Browse the repository at this point in the history
[NoQA] Remove deprecated hasOutstandingIOU properties
  • Loading branch information
madmax330 authored Jan 16, 2024
2 parents 3e9d21c + 1286e7e commit 93e68b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -3405,7 +3405,6 @@ function cancelPayment(expenseReport, chatReport) {
key: `${ONYXKEYS.COLLECTION.REPORT}${chatReport.reportID}`,
value: {
...chatReport,
hasOutstandingIOU: true,
hasOutstandingChildRequest: true,
iouReportID: expenseReport.reportID,
},
Expand Down Expand Up @@ -3449,7 +3448,6 @@ function cancelPayment(expenseReport, chatReport) {
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${chatReport.reportID}`,
value: {
hasOutstandingIOU: false,
hasOutstandingChildRequest: false,
iouReportID: 0,
},
Expand Down

0 comments on commit 93e68b5

Please sign in to comment.