mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix: duplicated event emitter
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user