This commit is contained in:
Juan Pablo Vial
2025-05-12 19:46:09 -04:00
parent 3006adb0f7
commit f14cdd2730
10 changed files with 268 additions and 21 deletions

View File

@ -27,7 +27,7 @@ class API
}
try {
$key = $this->apiService->getKey($request);
} catch (MissingAuthorizationHeader $exception) {
} catch (MissingAuthorizationHeader) {
return $this->responseFactory->createResponse(401);
}
if ($this->validateSimpleKey($request, $key)) {