Working on the API

This commit is contained in:
Hillel Coren 2015-11-05 10:50:35 +02:00
parent cb243fec0a
commit e18ae1aac0

View File

@ -25,7 +25,7 @@ class AccountTransformer extends TransformerAbstract
public function transform(Account $account) public function transform(Account $account)
{ {
return [ return [
'id' => (int) $account->id, 'account_key' => $account->account_key,
'name' => $account->name, 'name' => $account->name,
]; ];
} }