feat: recognize uncategorized transactions

This commit is contained in:
Ahmed Bouhuolia
2024-06-18 21:43:54 +02:00
parent 906835c396
commit 0b5cee070a
17 changed files with 234 additions and 37 deletions

View File

@@ -15,9 +15,9 @@ export class GetBankRulesService {
* Retrieves the bank rules of the given account.
* @param {number} tenantId
* @param {number} accountId
* @returns
* @returns {Promise<any>}
*/
public async getBankRules(tenantId: number) {
public async getBankRules(tenantId: number): Promise<any> {
const { BankRule } = this.tenancy.models(tenantId);
const bankRule = await BankRule.query();