update Rest minor fix
This commit is contained in:
parent
6e6b55f9dd
commit
d021a3e2ab
|
@ -64,7 +64,7 @@ class RestAuth extends alphayax\utils\Rest {
|
|||
protected function checkResponse(){
|
||||
$response = $this->getCurlResponse();
|
||||
if( false === $response['success']){
|
||||
throw new \Exception( $response['success']);
|
||||
throw new \Exception( $response['msg']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue