Skip to content

Commit

Permalink
Remove deprecated hasOutstandingIOU properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Jan 16, 2024
1 parent 2fa38fc commit 1286e7e
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 @@ -3404,7 +3404,6 @@ function cancelPayment(expenseReport, chatReport) {
key: `${ONYXKEYS.COLLECTION.REPORT}${chatReport.reportID}`,
value: {
...chatReport,
hasOutstandingIOU: true,
hasOutstandingChildRequest: true,
iouReportID: expenseReport.reportID,
},
Expand Down Expand Up @@ -3448,7 +3447,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 1286e7e

Please sign in to comment.