Send server name and description to wings to make available to replacers

This commit is contained in:
DaneEveritt 2022-07-24 17:15:24 -04:00
parent abac317802
commit 2eda1995b9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -47,6 +47,10 @@ class ServerConfigurationStructureService
{ {
return [ return [
'uuid' => $server->uuid, 'uuid' => $server->uuid,
'meta' => [
'name' => $server->name,
'description' => $server->description,
],
'suspended' => $server->isSuspended(), 'suspended' => $server->isSuspended(),
'environment' => $this->environment->handle($server), 'environment' => $this->environment->handle($server),
'invocation' => $server->startup, 'invocation' => $server->startup,