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: Rocio Perez-Cano <pecanoro@users.noreply.github.com>
  • Loading branch information
nkdengineer and pecanoro authored Sep 25, 2024
1 parent 98287b6 commit 23e2313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8172,6 +8172,7 @@ function mergeDuplicates(params: TransactionMergeParams) {
API.write(WRITE_COMMANDS.TRANSACTION_MERGE, params, {optimisticData, failureData});
}

/** Instead of merging the duplicates, it updates the transaction we want to keep and puts the others on hold without deleting them */
function resolveDuplicates(params: TransactionMergeParams) {
const originalSelectedTransaction = allTransactions[`${ONYXKEYS.COLLECTION.TRANSACTION}${params.transactionID}`];

Expand Down

0 comments on commit 23e2313

Please sign in to comment.