mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: import bugs
This commit is contained in:
@@ -19,7 +19,8 @@ export class ImportFileDataValidator {
|
||||
|
||||
/**
|
||||
* Validates the given mapped DTOs and returns errors with their index.
|
||||
* @param {Record<string, any>} mappedDTOs
|
||||
* @param {ResourceMetaFieldsMap} importableFields - Already localized fields from ResourceService
|
||||
* @param {Record<string, any>} data
|
||||
* @returns {Promise<void | ImportInsertError[]>}
|
||||
*/
|
||||
public async validateData(
|
||||
|
||||
@@ -24,7 +24,7 @@ export class ImportFileUploadService {
|
||||
|
||||
@Inject(ImportModel.name)
|
||||
private readonly importModel: typeof ImportModel,
|
||||
) {}
|
||||
) { }
|
||||
|
||||
/**
|
||||
* Imports the specified file for the given resource.
|
||||
|
||||
Reference in New Issue
Block a user