mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
Send server id to wings (#2157)
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace App\Services\Servers;
|
||||
|
||||
use App\Extensions\Features\FeatureService;
|
||||
use App\Models\Egg;
|
||||
use App\Models\Mount;
|
||||
use App\Models\Server;
|
||||
|
||||
@@ -39,6 +38,7 @@ class ServerConfigurationStructureService
|
||||
* Returns the data format used for the daemon.
|
||||
*
|
||||
* @return array{
|
||||
* id: int,
|
||||
* uuid: string,
|
||||
* meta: array{name: string, description: string},
|
||||
* suspended: bool,
|
||||
@@ -70,6 +70,7 @@ class ServerConfigurationStructureService
|
||||
protected function returnFormat(Server $server): array
|
||||
{
|
||||
$response = [
|
||||
'id' => $server->id,
|
||||
'uuid' => $server->uuid,
|
||||
'meta' => [
|
||||
'name' => $server->name,
|
||||
|
||||
Reference in New Issue
Block a user