fix: import bank transactions

This commit is contained in:
Ahmed Bouhuolia
2025-12-22 22:49:58 +02:00
parent e50fc3b523
commit a9a7cd8617
10 changed files with 86 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ export class ImportFileCommon {
private readonly importFileValidator: ImportFileDataValidator,
private readonly resource: ResourceService,
private readonly importableRegistry: ImportableRegistry,
) {}
) { }
/**
* Imports the given parsed data to the resource storage through registered importable service.

View File

@@ -84,7 +84,7 @@ export class ImportFileUploadService {
} catch (error) {
throw error;
}
const _params = this.importFileCommon.transformParams(resource, params);
const _params = await this.importFileCommon.transformParams(resource, params);
const paramsStringified = JSON.stringify(_params);
const tenant = await this.tenancyContext.getTenant();