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
+2 -1
View File
@@ -20,6 +20,7 @@ class UploadPriceDepCommand extends Command
public function __construct(
private EntityManagerInterface $entityManager,
private HttpClientInterface $client,
private string $widgetApiUrl,
)
{
parent::__construct();
@@ -34,7 +35,7 @@ class UploadPriceDepCommand extends Command
$response = $this->client->request('GET', '/pricelist/departments', [
'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'