added $error in case if missing API key

This commit is contained in:
tracer 2022-09-17 15:49:24 +02:00
parent 09c3f5c1dd
commit 25654e720c
1 changed files with 1 additions and 0 deletions

View File

@ -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';