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

View File

@ -82,6 +82,7 @@ class ApiController
break;
case 401:
$result = 'Missing or wrong API Key';
$error = true;
break;
case 404:
$result = '404 Not Found';