Fix #43. AbstractApi::sendRequest() fixed. Telegram account linking fixed too.

This commit is contained in:
Alexey Skobkin 2017-11-07 03:15:58 +03:00
parent 49b039026c
commit a1fae6e3f0

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