Skip to content

Commit

Permalink
guzzlehttp/guzzle игнорирование проверки сертификата для старых версий
Browse files Browse the repository at this point in the history
  • Loading branch information
devrusspace committed Jan 23, 2023
1 parent 44c8e60 commit cbbae6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private function appendUserData($user)
private function getClient()
{
if (!$this->_client) {
$this->_client = new \GuzzleHttp\Client(['headers' => $this->getHeaders()]);
$this->_client = new \GuzzleHttp\Client(['headers' => $this->getHeaders(), 'verify' => false]);
}
return $this->_client;
}
Expand Down

0 comments on commit cbbae6b

Please sign in to comment.