Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKampf committed Jun 24, 2023
1 parent 54b1506 commit 6b046d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"PHP 8",
"PHP 7"
],
"version": "0.4.8",
"version": "0.4.9",
"minimum-stability": "stable",
"prefer-stable": true,
"authors": [
Expand Down
2 changes: 2 additions & 0 deletions src/Proxmox/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public function __construct(string $hostname, string $user, string $secret, int
}

$this->setHostname($hostname); //Save hostname in class variable
$this->setUser($user); //Save user in class variable
$this->setSecret($secret); //Save secret in class variable
$this->setPort($port); //Save port in class variable
$this->setDebug($debug); //Save the debug boolean variable
$this->setApiURL('https://' . $this->getHostname() . ':' . $this->getPort() . '/api2/json/'); //Create the basic api url
Expand Down

0 comments on commit 6b046d7

Please sign in to comment.