added $error in case if missing API key
This commit is contained in:
parent
09c3f5c1dd
commit
25654e720c
|
@ -82,6 +82,7 @@ class ApiController
|
||||||
break;
|
break;
|
||||||
case 401:
|
case 401:
|
||||||
$result = 'Missing or wrong API Key';
|
$result = 'Missing or wrong API Key';
|
||||||
|
$error = true;
|
||||||
break;
|
break;
|
||||||
case 404:
|
case 404:
|
||||||
$result = '404 Not Found';
|
$result = '404 Not Found';
|
||||||
|
|
Loading…
Reference in New Issue