mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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();
|
||||
|
||||
return $this->collection($account_token, new AccountTokenTransformer);
|
||||
return $this->Item($account_token, new AccountTokenTransformer);
|
||||
|
||||
}
|
||||
public function includeUsers($account)
|
||||
|
Loading…
Reference in New Issue
Block a user