fix: remove duplicated ServerCheckJob call

This commit is contained in:
peaklabs-dev
2024-12-16 14:04:22 +01:00
parent fcdec3a80d
commit 1da3febd85

View File

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