api
This commit is contained in:
parent
6f320aa624
commit
d0f8fca420
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue