update Rest minor fix

This commit is contained in:
alphayax 2016-02-03 21:54:10 +01:00
parent 6e6b55f9dd
commit d021a3e2ab
1 changed files with 1 additions and 1 deletions

View File

@ -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']);
}
}