feat: replace hardcoded dummy api-key with env variable
This commit is contained in:
1 parent
18d3edcd53
commit
de5d80c2df
3 files changed
+4
-1
No files matched your search
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user