mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
working on Company Tests
This commit is contained in:
parent
2ddb9ddde3
commit
9cb33f3e10
@ -63,7 +63,7 @@ class CompanyController extends BaseController
|
||||
public function index()
|
||||
{
|
||||
|
||||
$companies = Company::whereAccountId(auth()->user()->id);
|
||||
$companies = Company::whereAccountId(auth()->user()->company()->account->id);
|
||||
|
||||
return $this->listResponse($companies);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user