Skip to content

Commit 4c1c9c2

Browse files
Update Management.php
1 parent ff0c161 commit 4c1c9c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Management.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function call($url, $data = [], $method = 'GET') {
9999

100100
$body = $response->getBody();
101101

102-
$decodedResponse = json_decode($body);
102+
$decodedResponse = json_decode($body, true);
103103

104104
if ($decodedResponse['status'] == 'error') {
105105
throw ManagementException::error($decodedResponse);

0 commit comments

Comments
 (0)