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
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ abstract class AbstractApi
private function sendRequest(string $method, string $path, array $parameters): ResponseInterface
{
try {
$response = $this->client->request($method, $path, ['query' => $parameters]);
$response = $this->client->request($method, $path, $parameters);
$this->checkResponse($response);