mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:34:04 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
330ea13efd
commit
95770934fb
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->app['events']->listen(\Illuminate\Queue\Events\JobProcessing::class, function ($event) {
|
$this->app['events']->listen(\Illuminate\Queue\Events\JobProcessing::class, function ($event) {
|
||||||
if (array_key_exists('tenant_uuid', $event->job->payload())) {
|
if (\array_key_exists('tenant_uuid', $event->job->payload())) {
|
||||||
tenancy()->initById($event->job->payload()['tenant_uuid']);
|
tenancy()->initById($event->job->payload()['tenant_uuid']);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue