Skip to content

Commit

Permalink
fix: double db insert
Browse files Browse the repository at this point in the history
  • Loading branch information
rtkay123 committed Jul 4, 2024
1 parent 4e2eda3 commit 3ffc182
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/logic.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,6 @@ export const handlePacs008 = async (transaction: Pacs008, transactionType: strin
}

if (!configuration.quoting) {
accountInserts.push(cacheDatabaseManager.addEntity(creditorId, creDtTm));
accountInserts.push(cacheDatabaseManager.addEntity(debtorId, creDtTm));
const dataCache: DataCache = {
cdtrId: creditorId,
dbtrId: debtorId,
Expand Down

0 comments on commit 3ffc182

Please sign in to comment.