i forgor part 2

This commit is contained in:
flash 2025-01-19 22:44:17 +00:00
parent 91ffe24544
commit 77954f6281

View file

@ -106,7 +106,7 @@ class RpcRoutes implements RouteHandler {
try {
$authInfo = $this->authorisations->getAuthorisation(uuid: $linkInfo, remoteAddr: $addr);
if($authInfo->isGranted()) {
if($authInfo->granted) {
$this->authorisations->markAuthorisationUsed($authInfo);
return self::createPayload('auth:ok');
}