refs #1154. Fixed API env_vars protected var
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/tag There was a failure building this commit Details

pull/13/head opengnsys_beta-0.0.1
Manuel Aranda Rosales 2024-11-18 10:08:20 +01:00
parent 404ee80d68
commit 87d16e9d72
2 changed files with 9 additions and 9 deletions

14
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "696433794f1d706f6d16af7589d2c1ea", "content-hash": "aaa904068da3e39927da2e6658330011",
"packages": [ "packages": [
{ {
"name": "api-platform/core", "name": "api-platform/core",
@ -3768,16 +3768,16 @@
}, },
{ {
"name": "symfony/dotenv", "name": "symfony/dotenv",
"version": "v6.4.10", "version": "v6.4.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dotenv.git", "url": "https://github.com/symfony/dotenv.git",
"reference": "2ae0c84cc9be0dc1eeb86016970b63c764d8472e" "reference": "436ae2dd89360fea8c7d5ff3f48ecf523c80bfb4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/dotenv/zipball/2ae0c84cc9be0dc1eeb86016970b63c764d8472e", "url": "https://api.github.com/repos/symfony/dotenv/zipball/436ae2dd89360fea8c7d5ff3f48ecf523c80bfb4",
"reference": "2ae0c84cc9be0dc1eeb86016970b63c764d8472e", "reference": "436ae2dd89360fea8c7d5ff3f48ecf523c80bfb4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3822,7 +3822,7 @@
"environment" "environment"
], ],
"support": { "support": {
"source": "https://github.com/symfony/dotenv/tree/v6.4.10" "source": "https://github.com/symfony/dotenv/tree/v6.4.13"
}, },
"funding": [ "funding": [
{ {
@ -3838,7 +3838,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-07-09T18:29:35+00:00" "time": "2024-09-28T07:43:51+00:00"
}, },
{ {
"name": "symfony/error-handler", "name": "symfony/error-handler",

View File

@ -22,7 +22,7 @@ abstract class AbstractOgBootController extends AbstractController
{ {
public function __construct( public function __construct(
#[Autowire(env: 'OG_BOOT_API_URL')] #[Autowire(env: 'OG_BOOT_API_URL')]
private string $ogBootApiUrl, protected string $ogBootApiUrl,
protected readonly EntityManagerInterface $entityManager protected readonly EntityManagerInterface $entityManager
) )
{ {