Skip to content

Commit

Permalink
Relay response is not always an array #18
Browse files Browse the repository at this point in the history
  • Loading branch information
swentel committed Mar 10, 2023
1 parent ea8bc86 commit bb279c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Relay/Relay.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function send(): CommandResultInterface
$response = $client->receive();
$client->close();

return new CommandResult($response);
return new CommandResult(json_decode($response));
}
}

0 comments on commit bb279c6

Please sign in to comment.