fix
This commit is contained in:
parent
353465cba7
commit
4044f28167
@ -28,7 +28,7 @@ class InstanceAutoUpdateJob implements ShouldQueue
|
||||
}
|
||||
|
||||
$instance_settings = InstanceSettings::get();
|
||||
$this->server = Server::whereFirst('name', $this->server_name);
|
||||
$this->server = Server::where('name', $this->server_name)->firstOrFail();
|
||||
|
||||
if (!$instance_settings->is_auto_update_enabled || !$this->server) {
|
||||
return $this->delete();
|
||||
|
Loading…
x
Reference in New Issue
Block a user