diff --git a/server/src/services/Accounts/AccountsService.ts b/server/src/services/Accounts/AccountsService.ts index 525be6c56..bd6a562e2 100644 --- a/server/src/services/Accounts/AccountsService.ts +++ b/server/src/services/Accounts/AccountsService.ts @@ -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); }