Merged in fix_43_telegram_bot_link_error (pull request #18)

Fix #43. AbstractApi::sendRequest() fix
This commit is contained in:
Alexey Eschenko 2017-11-07 00:18:22 +00:00
commit 527645935f

View file

@ -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);