refs #1855. Fixed subnet DTOs clients property
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
parent
beeda955ef
commit
b6c62996f5
|
@ -33,9 +33,6 @@ final class SubnetOutput extends AbstractOutput
|
|||
#[Groups(['subnet:read'])]
|
||||
public ?string $dns = null;
|
||||
|
||||
#[Groups(['subnet:read'])]
|
||||
public array $clients;
|
||||
|
||||
#[Groups(['subnet:read'])]
|
||||
public ?bool $synchronized = false;
|
||||
|
||||
|
@ -61,11 +58,6 @@ final class SubnetOutput extends AbstractOutput
|
|||
$this->bootFileName = $subnet->getBootFileName();
|
||||
$this->synchronized = $subnet->isSynchronized();
|
||||
$this->serverId = $subnet->getServerId();
|
||||
|
||||
$this->clients = $subnet->getClients()->map(
|
||||
fn(Client $client) => new ClientOutput($client)
|
||||
)->toArray();
|
||||
|
||||
$this->createdAt = $subnet->getCreatedAt();
|
||||
$this->createdBy = $subnet->getCreatedBy();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue