1
0
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:
David Bomba 2019-06-21 08:15:53 +10:00
parent 2ddb9ddde3
commit 9cb33f3e10

View File

@ -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);