mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Fixes ACCOUNTS-5G9. Manually cast Guzzle response to string
This commit is contained in:
@@ -26,7 +26,7 @@ class Api {
|
||||
return null;
|
||||
}
|
||||
|
||||
return json_decode($response->getBody(), true);
|
||||
return json_decode($response->getBody()->getContents(), true);
|
||||
}
|
||||
|
||||
public function setClient(ClientInterface $client): void {
|
||||
|
Reference in New Issue
Block a user