1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 10:54:04 +00:00

Fix for Initialized being called as function error

This commit is contained in:
Josh Young 2020-04-27 10:46:20 +09:30
parent 03e21621a0
commit 346a61d08d

View file

@ -39,7 +39,7 @@ class TelescopeTags implements Feature
|| PreventAccessFromTenantDomains::routeHasMiddleware(request()->route(), 'universal');
// 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, [
'tenant:' . tenant('id'),
]);