mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: Edit account with parent_account_id.
This commit is contained in:
@@ -221,7 +221,7 @@ export default class AccountsService {
|
||||
}
|
||||
if (accountDTO.parentAccountId) {
|
||||
const parentAccount = await this.getParentAccountOrThrowError(
|
||||
accountDTO.parentAccountId, oldAccount.id,
|
||||
tenantId, accountDTO.parentAccountId, oldAccount.id,
|
||||
);
|
||||
this.throwErrorIfParentHasDiffType(accountDTO, parentAccount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user