From c9305ffe10a09b383c258e735149101089f29369 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 17 Feb 2022 22:39:53 +0200 Subject: [PATCH] Fix compatibility with guzzle 7 --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index f487fee..0f86358 100644 --- a/src/Client.php +++ b/src/Client.php @@ -143,7 +143,7 @@ private function buildBaseUrl() */ private function handleResponse(Response $response) { - $stream = \GuzzleHttp\Psr7\stream_for($response->getBody()); + $stream = $response->getBody(); $data = json_decode($stream); return $data;