mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:14:03 +00:00
renamed class
This commit is contained in:
parent
65e51a4e8b
commit
57b842fbc6
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
Events\TenantUpdated::class => [],
|
Events\TenantUpdated::class => [],
|
||||||
Events\DeletingTenant::class => [
|
Events\DeletingTenant::class => [
|
||||||
JobPipeline::make([
|
JobPipeline::make([
|
||||||
Jobs\DeleteDomain::class,
|
Jobs\DeleteDomains::class,
|
||||||
])->send(function (Events\TenantDeleted $event) {
|
])->send(function (Events\TenantDeleted $event) {
|
||||||
return $event->tenant;
|
return $event->tenant;
|
||||||
})->shouldBeQueued(false),
|
})->shouldBeQueued(false),
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ use Stancl\Tenancy\Events\DeletingDatabase;
|
||||||
use Stancl\Tenancy\Events\DeletingDomain;
|
use Stancl\Tenancy\Events\DeletingDomain;
|
||||||
use Stancl\Tenancy\Events\DomainDeleted;
|
use Stancl\Tenancy\Events\DomainDeleted;
|
||||||
|
|
||||||
class DeleteDomain implements ShouldQueue
|
class DeleteDomains implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue