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