Update HttpClient.php
This commit is contained in:
parent
1951102262
commit
b66da9a266
|
@ -108,9 +108,10 @@ class HttpClient implements HttpClientInterface {
|
||||||
|
|
||||||
private function processResponse() {
|
private function processResponse() {
|
||||||
$this->responseMessage = json_decode($this->response->getBody()->getContents());
|
$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")
|
||||||
if ($this->responseMessage->status == "success") return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue