Skip to content

Commit

Permalink
Update src/libs/actions/IOU.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Shubham Agrawal <[email protected]>
  • Loading branch information
nkdengineer and shubham1206agra authored Oct 4, 2024
1 parent a17e53f commit 1cf3b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6449,7 +6449,7 @@ function getReportFromHoldRequestsOnyxData(
chatReport.reportID,
chatReport.policyID ?? iouReport?.policyID ?? '',
recipient.accountID ?? 1,
holdTransactions.reduce((acc, transaction) => acc + TransactionUtils.getAmount(transaction), 0) * (ReportUtils.isIOUReport(iouReport) ? 1 : -1),
holdTransactions.reduce((acc, transaction) => acc + TransactionUtils.getAmount(transaction), 0),
getCurrency(firstHoldTransaction),
false,
newParentReportActionID,
Expand Down

0 comments on commit 1cf3b6b

Please sign in to comment.