Merged in fix_43_telegram_bot_link_error (pull request #18)
Fix #43. AbstractApi::sendRequest() fix
This commit is contained in:
commit
527645935f
|
@ -124,7 +124,7 @@ abstract class AbstractApi
|
||||||
private function sendRequest(string $method, string $path, array $parameters): ResponseInterface
|
private function sendRequest(string $method, string $path, array $parameters): ResponseInterface
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$response = $this->client->request($method, $path, ['query' => $parameters]);
|
$response = $this->client->request($method, $path, $parameters);
|
||||||
|
|
||||||
$this->checkResponse($response);
|
$this->checkResponse($response);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue