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

@@ -45,7 +45,7 @@ export class DeleteCashflowTransactionOnUncategorize {
trx
);
});
if (result.errors) {
if (result.errors.length > 0) {
throw new ServiceError('SOMETHING_WRONG');
}
}