Skip to content

Commit

Permalink
Fix compatibility with guzzle 7
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Feb 17, 2022
1 parent 4dc8cd8 commit c9305ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c9305ff

Please sign in to comment.