update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
@@ -3,6 +3,7 @@
namespace App\Http\Services\vCenter;
use Illuminate\Support\Facades\Http;
use App\Support\TlsHttpClientFactory;
class TemplateService
{
@@ -16,7 +17,7 @@ class TemplateService
public function getAllTemplate()
{
if ($this->client->checkApiExits()) {
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::vCenter()
->withHeaders([
'vmware-api-session-id' => $this->client->token
])
@@ -32,7 +33,7 @@ class TemplateService
public function getTemplatebyID($template = '')
{
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::vCenter()
->withHeaders([
'vmware-api-session-id' => $this->client->token
])
@@ -61,7 +62,7 @@ class TemplateService
public function getVersionDetail($version_id = '')
{
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::vCenter()
->withHeaders([
'vmware-api-session-id' => $this->client->token
])
@@ -76,7 +77,7 @@ class TemplateService
public function getAllVersion($library = ''): bool|array|string
{
if ($this->client->checkApiExits()) {
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::vCenter()
->withHeaders([
'vmware-api-session-id' => $this->client->token
])