Skip to content

Commit 448e27f

Browse files
committed
pass correct report param
1 parent 24ed1be commit 448e27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/actions/IOU.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ function deleteMoneyRequest(transactionID, reportAction, isSingleTransactionView
818818
let updatedIOUReport = null;
819819
let updatedReportPreviewAction = null;
820820
if (!shouldDeleteIOUReport) {
821-
if (ReportUtils.isExpenseReport(iouReport.reportID)) {
821+
if (ReportUtils.isExpenseReport(iouReport)) {
822822
updatedIOUReport = {...iouReport};
823823

824824
// Because of the Expense reports are stored as negative values, we add the total from the amount

0 commit comments

Comments
 (0)