diff --git a/app/Actions/Server/UpdateCoolify.php b/app/Actions/Server/UpdateCoolify.php index bdf8275c7..3203f9b05 100644 --- a/app/Actions/Server/UpdateCoolify.php +++ b/app/Actions/Server/UpdateCoolify.php @@ -16,8 +16,7 @@ public function __invoke(bool $force) try { $settings = InstanceSettings::get(); ray('Running InstanceAutoUpdateJob'); - $localhost_name = 'localhost'; - $this->server = Server::where('name', $localhost_name)->first(); + $this->server = Server::find(0)->first(); if (!$this->server) { return; }