mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Working on the API
This commit is contained in:
parent
343d76744f
commit
e26bf521e4
@ -64,8 +64,11 @@ class AccountApiController extends BaseAPIController
|
||||
{
|
||||
$account = Auth::user()->account;
|
||||
$account->load('clients.getInvoices.invoice_items', 'users');
|
||||
|
||||
$response = $this->createItem($account, new AccountTransformer);
|
||||
|
||||
$account = $this->createItem($account, new AccountTransformer);
|
||||
$response = [
|
||||
'account' => $account
|
||||
];
|
||||
|
||||
return $this->response($response);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user