Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

Andras Bacsai5d476e39249b
diff --git a/app/Jobs/ServerCheckJob.php b/app/Jobs/ServerCheckJob.php
index f7b54cd80f..5400853851 100644
--- a/app/Jobs/ServerCheckJob.php
+++ b/app/Jobs/ServerCheckJob.php
@@ -47,12 +47,12 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
public function middleware(): array
{
- return [(new WithoutOverlapping($this->server->uuid))];
+ return [(new WithoutOverlapping($this->server->id))];
}
public function uniqueId(): int
{
- return $this->server->uuid;
+ return $this->server->id;
}
public function handle()