diff --git a/app/Services/Servers/BuildModificationService.php b/app/Services/Servers/BuildModificationService.php index 1bbd705e0..4da6e7c4f 100644 --- a/app/Services/Servers/BuildModificationService.php +++ b/app/Services/Servers/BuildModificationService.php @@ -101,7 +101,7 @@ class BuildModificationService 'ip' => $server->allocation->ip, 'port' => $server->allocation->port, ], - 'mappings' => [$server->getAllocationMappings()], + 'mappings' => $server->getAllocationMappings(), ], 'build' => [ 'memory' => $server->memory, diff --git a/app/Services/Servers/ServerConfigurationStructureService.php b/app/Services/Servers/ServerConfigurationStructureService.php index 5e57a3a4f..779eac2b0 100644 --- a/app/Services/Servers/ServerConfigurationStructureService.php +++ b/app/Services/Servers/ServerConfigurationStructureService.php @@ -97,7 +97,7 @@ class ServerConfigurationStructureService 'ip' => $server->allocation->ip, 'port' => $server->allocation->port, ], - 'mappings' => [$server->getAllocationMappings()], + 'mappings' => $server->getAllocationMappings(), ], ]; }