Updates
This commit is contained in:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user