Skip to content

Commit 2eee6f3

Browse files
committed
Pass along the data in a more logical format
1 parent 2af6537 commit 2eee6f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Services/Servers/BuildModificationService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function handle(Server $server, array $data)
101101
'ip' => $server->allocation->ip,
102102
'port' => $server->allocation->port,
103103
],
104-
'mappings' => [$server->getAllocationMappings()],
104+
'mappings' => $server->getAllocationMappings(),
105105
],
106106
'build' => [
107107
'memory' => $server->memory,

app/Services/Servers/ServerConfigurationStructureService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function returnCurrentFormat(Server $server)
9797
'ip' => $server->allocation->ip,
9898
'port' => $server->allocation->port,
9999
],
100-
'mappings' => [$server->getAllocationMappings()],
100+
'mappings' => $server->getAllocationMappings(),
101101
],
102102
];
103103
}

0 commit comments

Comments
 (0)