Skip to content

Commit 9f5fd47

Browse files
committed
Fix one test
1 parent 38676c8 commit 9f5fd47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ClientBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function execute($method, array $arguments = []): object
6666

6767
$response = json_decode($json_response);
6868

69-
if($response->s === 'error') {
69+
if(isset($response->s) && $response->s === 'error') {
7070
throw new ApiException(message: $response->errmsg, response: $response);
7171
}
7272

0 commit comments

Comments
 (0)