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