Add is_hosted flag to accoun transformer
This commit is contained in:
parent
730aa4219c
commit
90e60fb8fc
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ class AccountTransformer extends EntityTransformer
|
|||
'is_migrated' => (bool) $account->is_migrated,
|
||||
'hosted_client_count' => (int) $account->hosted_client_count,
|
||||
'hosted_company_count' => (int) $account->hosted_company_count,
|
||||
'is_hosted' => (bool) Ninja::isHosted(),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue