fix: decrement uncategorized transactions count

This commit is contained in:
Ahmed Bouhuolia
2024-08-04 13:15:20 +02:00
parent fdf3e34f1c
commit 00f5bb1d73
6 changed files with 27 additions and 19 deletions

View File

@@ -75,7 +75,7 @@ export class UncategorizeCashflowTransaction {
categorizeRefType: null,
});
const uncategorizedTransactions =
await UncategorizedCashflowTransaction.query().whereIn(
await UncategorizedCashflowTransaction.query(trx).whereIn(
'id',
oldUncategoirzedTransactionsIds
);