Skip to content

Commit

Permalink
pass report id from report onyx instead of params
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jan 17, 2024
1 parent a2f5bd5 commit f03ae82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/iou/request/step/IOURequestStepConfirmation.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ function IOURequestStepConfirmation({

// If we have a receipt let's start the split bill by creating only the action, the transaction, and the group DM if needed
if (iouType === CONST.IOU.TYPE.SPLIT && receiptFile) {
const existingSplitChatReportID = CONST.REGEX.NUMBER.test(reportID) ? reportID : '';
IOU.startSplitBill(
selectedParticipants,
currentUserPersonalDetails.login,
Expand All @@ -226,7 +225,7 @@ function IOURequestStepConfirmation({
transaction.category,
transaction.tag,
receiptFile,
existingSplitChatReportID,
report.reportID,
);
return;
}
Expand Down

0 comments on commit f03ae82

Please sign in to comment.