issues/27: sync branch from k3s-test
This commit is contained in:
committed by
Valeriy Petrov
parent
fe24537e9f
commit
65934cff3c
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user