feat: Implement VM console with dedicated layout, WMKS integration, and jQuery 3 compatibility.
This commit is contained in:
@@ -158,11 +158,9 @@ class PowerManagementService
|
||||
"type" => "WEBMKS"
|
||||
])->json();
|
||||
if (!isset($response['error_type'])) {
|
||||
$start = strpos($response['ticket'], '/ticket/');
|
||||
$ticket = str_replace('/ticket/', '', substr($response['ticket'], $start));
|
||||
return [
|
||||
'error' => false,
|
||||
'data' => $ticket
|
||||
'data' => $response['ticket']
|
||||
];
|
||||
}
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user