working on Company Tests
This commit is contained in:
parent
2ddb9ddde3
commit
9cb33f3e10
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue