From a1fae6e3f09a8dba94ad3c225a3e929a6b8e657a Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 7 Nov 2017 03:15:58 +0300 Subject: [PATCH] Fix #43. AbstractApi::sendRequest() fixed. Telegram account linking fixed too. --- src/Skobkin/Bundle/PointToolsBundle/Service/Api/AbstractApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Service/Api/AbstractApi.php b/src/Skobkin/Bundle/PointToolsBundle/Service/Api/AbstractApi.php index a6871eb..e4cbc38 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Service/Api/AbstractApi.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Service/Api/AbstractApi.php @@ -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);