feat: drop the TYPO3 api key query parameter
This commit is contained in:
1 parent
2d876152aa
commit
ff7ddf7a9e
3 files changed
+2
-6
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user