Pass along the data in a more logical format

This commit is contained in:
Dane Everitt 2019-11-24 20:40:29 -08:00
parent 2af653733c
commit 2eee6f35d4
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ class BuildModificationService
'ip' => $server->allocation->ip,
'port' => $server->allocation->port,
],
'mappings' => [$server->getAllocationMappings()],
'mappings' => $server->getAllocationMappings(),
],
'build' => [
'memory' => $server->memory,

View file

@ -97,7 +97,7 @@ class ServerConfigurationStructureService
'ip' => $server->allocation->ip,
'port' => $server->allocation->port,
],
'mappings' => [$server->getAllocationMappings()],
'mappings' => $server->getAllocationMappings(),
],
];
}