mirror of
https://github.com/miguel456/php-http-virtualmin-api
synced 2023-07-28 01:52:31 +00:00
Update HttpClient.php
This commit is contained in:
parent
1951102262
commit
b66da9a266
@ -108,9 +108,10 @@ class HttpClient implements HttpClientInterface {
|
||||
|
||||
private function processResponse() {
|
||||
$this->responseMessage = json_decode($this->response->getBody()->getContents());
|
||||
// TODO delete var_dump.
|
||||
// var_dump($this->responseMessage); ("deleted" var dump as per TODO)
|
||||
if ($this->responseMessage->status == "success") return true;
|
||||
|
||||
if ($this->responseMessage->status == "success")
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user