fix
This commit is contained in:
@@ -65,7 +65,7 @@ class Server extends BaseModel
|
||||
|
||||
static public function validated()
|
||||
{
|
||||
return Server::ownedByCurrentTeam()->whereRelation('settings', 'is_validated', true);
|
||||
return Server::ownedByCurrentTeam()->whereRelation('settings', 'is_reachable', true);
|
||||
}
|
||||
|
||||
static public function destinationsByServer(string $server_id)
|
||||
|
||||
@@ -8,7 +8,7 @@ class ServerSetting extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'server_id',
|
||||
'is_docker_installed',
|
||||
'is_usable',
|
||||
];
|
||||
public function server()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user