Skip to content

Commit 2eda199

Browse files
committed
Send server name and description to wings to make available to replacers
1 parent abac317 commit 2eda199

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/Services/Servers/ServerConfigurationStructureService.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ protected function returnCurrentFormat(Server $server): array
4747
{
4848
return [
4949
'uuid' => $server->uuid,
50+
'meta' => [
51+
'name' => $server->name,
52+
'description' => $server->description,
53+
],
5054
'suspended' => $server->isSuspended(),
5155
'environment' => $this->environment->handle($server),
5256
'invocation' => $server->startup,

0 commit comments

Comments
 (0)