make url and apikey parameters

This commit is contained in:
2024-09-13 04:21:26 +02:00
parent 99417ef9ec
commit 876f356009
3 changed files with 26 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
services:
Magdev\RedmineBundle\Client\RedmineClient:
arguments: ['@redmine_api.cache', '%env(REDMINE_URL)%', '%env(REDMINE_APIKEY)%', '%magdev_redmine.ttl%']
arguments: ['@redmine_api.cache', '%magdev_redmine.url%', '%magdev_redmine.apiKey%', '%magdev_redmine.cache.ttl%']
redmine.api: '@Magdev\RedmineBundle\Client\RedmineClient'