Skip to content

Commit

Permalink
Fix for Initialized being called as function error (#373)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Young <josh@vertogroup.com.au>
  • Loading branch information
jny986 and Josh Young authored Apr 27, 2020
1 parent 03e2162 commit d990281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Features/TelescopeTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
]);
Expand Down

0 comments on commit d990281

Please sign in to comment.