mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 06:04:03 +00:00
Fix $this->integration
This commit is contained in:
parent
4c80ba78d3
commit
664c16be77
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
public function setTelescopeTags()
|
public function setTelescopeTags()
|
||||||
{
|
{
|
||||||
Telescope::tag(function (\Laravel\Telescope\IncomingEntry $entry) {
|
Telescope::tag(function (\Laravel\Telescope\IncomingEntry $entry) {
|
||||||
$tags = $this->integration('telescope', $entry);
|
$tags = $this->app->make(TenantManager::class)->integration('telescope', $entry);
|
||||||
|
|
||||||
if (\in_array('tenancy', request()->route()->middleware())) {
|
if (\in_array('tenancy', request()->route()->middleware())) {
|
||||||
$tags = \array_merge($tags, [
|
$tags = \array_merge($tags, [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue