feat: drop the TYPO3 api key query parameter

This commit is contained in:
fromme committed 2026-10-08 11:45:24 +02:00
1 parent 2d876152aa
commit ff7ddf7a9e
3 files changed
+2 -6

No files matched your search

-3
View File
@@ -14,7 +14,6 @@ class CmsDataProvider
public function __construct(
private readonly HttpClientInterface $httpClient,
private readonly CacheInterface $cache,
private readonly string $apiKey,
) {
}
@@ -93,7 +92,6 @@ class CmsDataProvider
$request = $this->httpClient->request('GET', 'api/hotel', [
'query' => [
'hotel' => $hotelCode,
'key' => $this->apiKey,
],
]);
} catch (ExceptionInterface $e) {
@@ -184,7 +182,6 @@ class CmsDataProvider
'query' => [
'product' => $productCode,
'hotel' => $hotelCode,
'key' => $this->apiKey,
],
]);
} catch (ExceptionInterface $e) {