mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-04 14:22:23 -04:00
Use the empty string for probing the Icinga 2 API
Using null results in an argument type error.
This commit is contained in:
parent
b6ef83c1cf
commit
65cc852eb7
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ class ApiCommandTransport implements CommandTransportInterface
|
|||
{
|
||||
try {
|
||||
$response = (new Client())
|
||||
->get($this->getUriFor(null), [
|
||||
->get($this->getUriFor(''), [
|
||||
'auth' => [$this->getUsername(), $this->getPassword()],
|
||||
'headers' => ['Accept' => 'application/json'],
|
||||
'http_errors' => false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue