mirror of
https://github.com/elyby/accounts.git
synced 2024-11-10 07:22:00 +05:30
Fixes ACCOUNTS-5G9. Manually cast Guzzle response to string
This commit is contained in:
parent
a9453aae67
commit
73988855c4
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user