mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: import bank transactions
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user