mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 14:44:02 +00:00
Fix for Initialized being called as function error (#373)
Co-authored-by: Josh Young <josh@vertogroup.com.au>
This commit is contained in:
parent
03e21621a0
commit
d990281309
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class TelescopeTags implements Feature
|
||||||
|| PreventAccessFromTenantDomains::routeHasMiddleware(request()->route(), 'universal');
|
|| PreventAccessFromTenantDomains::routeHasMiddleware(request()->route(), 'universal');
|
||||||
|
|
||||||
// Don't do anything if we're visiting a universal route on a central domain
|
// Don't do anything if we're visiting a universal route on a central domain
|
||||||
if ($tenantRoute && tenancy()->initialized()) {
|
if ($tenantRoute && tenancy()->initialized) {
|
||||||
$tags = array_merge($tags, [
|
$tags = array_merge($tags, [
|
||||||
'tenant:' . tenant('id'),
|
'tenant:' . tenant('id'),
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue