feat: replace hardcoded dummy api-key with env variable

This commit is contained in:
fromme committed 2026-10-08 11:05:42 +02:00
1 parent 18d3edcd53
commit de5d80c2df
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ framework:
base_uri: '%env(resolve:APP_CMS_API_BASE_URL)%'
headers:
accept: 'text/json'
X-Api-Key: '%env(APP_CMS_API_KEY)%'
when@test:
framework:
+1 -1
View File
@@ -336,7 +336,7 @@ services:
App\Service\CmsDataProvider:
arguments:
$httpClient: '@typo3.client'
$apiKey: 'AbcAbc123'# dummy key, not yet implemented
$apiKey: '%env(APP_CMS_API_KEY)%'
App\Logger\RequestIdProcessor:
tags: