diff --git a/lib/HttpService.php b/lib/HttpService.php index 1414f0c9..d5843244 100644 --- a/lib/HttpService.php +++ b/lib/HttpService.php @@ -245,7 +245,7 @@ public function getApiKey() { * @throws AppManagerException */ private function httpGet($path, $options, $apiKey) { - if ($apiKey !== null) { + if (!empty($apiKey)) { $options = \array_merge( [ 'headers' => ['Authorization' => "apikey: $apiKey"]