Skip to content

Commit

Permalink
fix: remove unneeded iteration on creds
Browse files Browse the repository at this point in the history
  • Loading branch information
will-break-it committed Jul 24, 2024
1 parent ec8235c commit 011015a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ export const storeTransactions = typeormOperator<WithTxCredentials>(async (evt)
txId: tx.id
};
transactionEntities.push(txEntity);
for (const credential of credentials) {
if (!credential.transactions) {
credential.transactions = [];
}
credential.transactions.push(txEntity);
}
}

await queryRunner.manager
Expand Down

0 comments on commit 011015a

Please sign in to comment.