Update MicroweberServiceProvider.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-06 15:55:14 +03:00
parent 3c7f0e9609
commit e574342c86

View file

@ -2,12 +2,12 @@
namespace Modules\Microweber\App\Providers;
use App\Events\HostingAccountIsCreated;
use App\VirtualHosts\ApacheVirtualHostManager;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;
use App\Events\DomainIsCreated;
use Modules\Microweber\Listeners\DomainIsCreatedListener;
use App\VirtualHosts\ApacheVirtualHostManager;
use Modules\Microweber\MicroweberApacheVirtualHostConfig;
class MicroweberServiceProvider extends ServiceProvider
@ -28,7 +28,7 @@ class MicroweberServiceProvider extends ServiceProvider
$this->registerViews();
$this->loadMigrationsFrom(module_path($this->moduleName, 'Database/migrations'));
Event::listen(HostingAccountIsCreated::class,DomainIsCreatedListener::class);
Event::listen(DomainIsCreated::class,DomainIsCreatedListener::class);
}
/**