refactor: Update console ticket response structure in VCenterController and ServiceController

This commit is contained in:
baodev0
2026-07-23 11:56:58 +07:00
parent 1459fd49a3
commit ccf95114f6
2 changed files with 4 additions and 4 deletions
@@ -81,8 +81,7 @@ class VCenterController extends Controller
return response()->json([
'error' => false,
'data' => 'wss://' . self::CONSOLE_HOST . '/ticket/' . $ticket['data']['ticket'] . '?host=' . $ticket['data']['host'],
'vmware-api-session-id' => $serviceVCenter->token,
])->cookie('vmware-api-session-id', $serviceVCenter->token, 60, '/', null, false, false);
]);
}
public function sync(): JsonResponse