mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 07:13:45 +02:00
Mark some fields as deprecated in the API
This commit is contained in:
@@ -70,7 +70,10 @@ class ServerTransformer extends BaseClientTransformer
|
||||
'allocations' => $server->allocation_limit,
|
||||
'backups' => $server->backup_limit,
|
||||
],
|
||||
'status' => $server->status,
|
||||
// This field is deprecated, please use "status".
|
||||
'is_suspended' => $server->isSuspended(),
|
||||
// This field is deprecated, please use "status".
|
||||
'is_installing' => ! $server->isInstalled(),
|
||||
'is_transferring' => ! is_null($server->transfer),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user