fix: unreachable notifications

This commit is contained in:
peaklabs-dev
2024-12-23 16:51:34 +01:00
parent 68362d05b3
commit f26853b576
7 changed files with 82 additions and 13 deletions

View File

@@ -31,12 +31,7 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
}
public function __construct(public Server $server)
{
if (isDev()) {
$this->handle();
}
}
public function __construct(public Server $server) {}
public function handle()
{