Skip to content

Commit

Permalink
Merge pull request #22 from xPaw/guzzle-compat
Browse files Browse the repository at this point in the history
Fix compatibility with guzzle 7
  • Loading branch information
sverraest authored Apr 24, 2022
2 parents 4dc8cd8 + c9305ff commit d6acf0b
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 d6acf0b

Please sign in to comment.