mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on the API
This commit is contained in:
parent
cb243fec0a
commit
e18ae1aac0
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user