set the company settings in api
This commit is contained in:
parent
9f3b56341c
commit
153f74583d
@ -30,6 +30,10 @@ class ApiCompany
|
|||||||
// Set company id
|
// Set company id
|
||||||
session(['company_id' => $company_id]);
|
session(['company_id' => $company_id]);
|
||||||
|
|
||||||
|
// Set the company settings
|
||||||
|
setting()->setExtraColumns(['company_id' => $company_id]);
|
||||||
|
setting()->load(true);
|
||||||
|
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user