mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
api
This commit is contained in:
parent
6f320aa624
commit
d0f8fca420
@ -16,7 +16,7 @@ class AccountTransformer extends TransformerAbstract
|
|||||||
{
|
{
|
||||||
$account_token = AccountToken::whereAccountId($account->id)->whereName('ios_api_token')->first();
|
$account_token = AccountToken::whereAccountId($account->id)->whereName('ios_api_token')->first();
|
||||||
|
|
||||||
return $this->collection($account_token, new AccountTokenTransformer);
|
return $this->Item($account_token, new AccountTokenTransformer);
|
||||||
|
|
||||||
}
|
}
|
||||||
public function includeUsers($account)
|
public function includeUsers($account)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user