Add key to account transformer
This commit is contained in:
parent
86859e4f58
commit
73ae9ea89f
|
|
@ -53,7 +53,7 @@ class AccountTransformer extends EntityTransformer
|
|||
{
|
||||
return [
|
||||
'id' => (string) $this->encodePrimaryKey($account->id),
|
||||
'key' => (string) $this->account->key,
|
||||
'key' => (string) $account->key,
|
||||
'default_url' => config('ninja.app_url'),
|
||||
'plan' => $account->getPlan(),
|
||||
'plan_term' => (string) $account->plan_terms,
|
||||
|
|
|
|||
Loading…
Reference in New Issue