mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Pass along the data in a more logical format
This commit is contained in:
parent
2af653733c
commit
2eee6f35d4
@ -101,7 +101,7 @@ class BuildModificationService
|
|||||||
'ip' => $server->allocation->ip,
|
'ip' => $server->allocation->ip,
|
||||||
'port' => $server->allocation->port,
|
'port' => $server->allocation->port,
|
||||||
],
|
],
|
||||||
'mappings' => [$server->getAllocationMappings()],
|
'mappings' => $server->getAllocationMappings(),
|
||||||
],
|
],
|
||||||
'build' => [
|
'build' => [
|
||||||
'memory' => $server->memory,
|
'memory' => $server->memory,
|
||||||
|
@ -97,7 +97,7 @@ class ServerConfigurationStructureService
|
|||||||
'ip' => $server->allocation->ip,
|
'ip' => $server->allocation->ip,
|
||||||
'port' => $server->allocation->port,
|
'port' => $server->allocation->port,
|
||||||
],
|
],
|
||||||
'mappings' => [$server->getAllocationMappings()],
|
'mappings' => $server->getAllocationMappings(),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user