diff --git a/README.md b/README.md index e448cb5..778f11e 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Recomended installation is using [Composer], if you do not have [Composer] what In the root of your project execute the following: ```sh -$ composer require lumaserv/proxmoxve ~4.0.3 +$ composer require lumaserv/proxmoxve ~4.0.4 ``` Or add this to your `composer.json` file: @@ -29,7 +29,7 @@ Or add this to your `composer.json` file: ```json { "require": { - "lumaserv/proxmoxve": "~4.0.3" + "lumaserv/proxmoxve": "~4.0.4" } } ``` diff --git a/composer.json b/composer.json index 4b49e4e..d618750 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": ["Proxmox", "API", "KVM", "OpenVZ", "Virtualization"], "homepage": "https://github.com/LUMASERV/ProxmoxVE", "license": "MIT", - "version": "v4.0.3", + "version": "v4.0.4", "authors": [ { diff --git a/src/Proxmox.php b/src/Proxmox.php index fe304cc..555fa30 100644 --- a/src/Proxmox.php +++ b/src/Proxmox.php @@ -105,11 +105,7 @@ private function requestResource($actionPath, $params = [], $method = 'GET') $jar = CookieJar::fromArray([ 'PVEAuthCookie' => $this->authToken->getTicket() - ], null); - -// $cookies = [ -// 'PVEAuthCookie' => $this->authToken->getTicket(), -// ]; + ], '.'); if ($method != 'GET') { $headers = [