fix: server not found

This commit is contained in:
Andras Bacsai 2023-12-19 12:24:43 +01:00
parent 70c662daf8
commit ef595dd4c2

View File

@ -391,6 +391,9 @@ class Server extends BaseModel
public function validateConnection()
{
$server = Server::find($this->id);
if (!$server) {
return false;
}
if ($server->skipServer()) {
return false;
}