From d021a3e2abd8a47f41511805eda38f48af1257ab Mon Sep 17 00:00:00 2001 From: alphayax Date: Wed, 3 Feb 2016 21:54:10 +0100 Subject: [PATCH] update Rest minor fix --- freebox/utils/RestAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freebox/utils/RestAuth.php b/freebox/utils/RestAuth.php index b2f68dc..0db9ce5 100644 --- a/freebox/utils/RestAuth.php +++ b/freebox/utils/RestAuth.php @@ -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']); } }