mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 12:48:07 +05:30
Fixes ACCOUNTS-5G9. Manually cast Guzzle response to string
This commit is contained in:
1 parent
a9453aae67
commit
73988855c4
1 file changed
+1
-1
@@ -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