issues/27: sync branch from k3s-test

This commit is contained in:
Valery Petrov
2026-06-03 18:37:51 +03:00
committed by Valeriy Petrov
parent fe24537e9f
commit 65934cff3c
9 changed files with 118 additions and 9 deletions
+3 -2
View File
@@ -23,7 +23,8 @@ class UploadFilialsCommand extends Command
private LoggerInterface $logger,
private EntityManagerInterface $entityManager,
private HttpClientInterface $client,
private TransliteServiceInterface $transliteService
private TransliteServiceInterface $transliteService,
private string $widgetApiUrl,
)
{
parent::__construct();
@@ -40,7 +41,7 @@ class UploadFilialsCommand extends Command
$response = $this->client->request('GET', '/filials/list', [
'verify_peer' => false,
'verify_host' => false,
'base_uri' => 'https://widget.sovamed.ru',
'base_uri' => $this->widgetApiUrl,
'headers' => [
'Content-Type' => 'application/json',
'User-Agent' => 'sovamed_bot'