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

Fix $this->integration

This commit is contained in:
Samuel Štancl 2019-08-19 20:57:02 +02:00
parent 4c80ba78d3
commit 664c16be77

View file

@ -60,7 +60,7 @@ class TenancyServiceProvider extends ServiceProvider
public function setTelescopeTags()
{
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())) {
$tags = \array_merge($tags, [