chore: Update server check job middleware to use server ID instead of UUID

This commit is contained in:
Andras Bacsai committed 2024-09-11 14:23:19 +02:00
1 parent 577927a20b
commit 5d476e3924
1 file changed
+2 -2
+2 -2
View File
@@ -47,12 +47,12 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
public function middleware(): array public function middleware(): array
{ {
return [(new WithoutOverlapping($this->server->uuid))]; return [(new WithoutOverlapping($this->server->id))];
} }
public function uniqueId(): int public function uniqueId(): int
{ {
return $this->server->uuid; return $this->server->id;
} }
public function handle() public function handle()