mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
feat(server): wip import resources
This commit is contained in:
@@ -23,14 +23,6 @@ export class AccountsImportable {
|
||||
return this.accountsApp.createAccount(tenantId, createAccountDTO, trx);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns {}
|
||||
*/
|
||||
public validation() {
|
||||
return AccountDTOSchema;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param data
|
||||
@@ -39,7 +31,6 @@ export class AccountsImportable {
|
||||
public transform(data) {
|
||||
return {
|
||||
...data,
|
||||
accountType: this.mapAccountType(data.accounType),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user