From d990281309a6a9a84d292d2edf6bfa48c6aa9cd1 Mon Sep 17 00:00:00 2001 From: Josh <37679074+jny986@users.noreply.github.com> Date: Mon, 27 Apr 2020 23:34:35 +0930 Subject: [PATCH] Fix for Initialized being called as function error (#373) Co-authored-by: Josh Young --- src/Features/TelescopeTags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Features/TelescopeTags.php b/src/Features/TelescopeTags.php index fe63ef93b..7978214b6 100644 --- a/src/Features/TelescopeTags.php +++ b/src/Features/TelescopeTags.php @@ -39,7 +39,7 @@ public function bootstrap(TenantManager $tenantManager): void || 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'), ]);