fix: duplicated event emitter

This commit is contained in:
Ahmed Bouhuolia
2024-07-13 03:23:25 +02:00
parent 249eadaeaa
commit 69ddf43b3e

View File

@@ -37,7 +37,7 @@ export class CreateUncategorizedTransaction {
tenantId, tenantId,
async (trx: Knex.Transaction) => { async (trx: Knex.Transaction) => {
await this.eventPublisher.emitAsync( await this.eventPublisher.emitAsync(
events.cashflow.onTransactionUncategorizedCreated, events.cashflow.onTransactionUncategorizedCreating,
{ {
tenantId, tenantId,
createUncategorizedTransactionDTO, createUncategorizedTransactionDTO,