mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-16 19:33:44 +00:00
Fixed error in api handlers
This commit is contained in:
@@ -88,7 +88,7 @@ class AccessHandler(BaseHandler):
|
|||||||
|
|
||||||
if sa:
|
if sa:
|
||||||
return { 'access': True, 'service': sa.service.id,
|
return { 'access': True, 'service': sa.service.id,
|
||||||
'service_type': sa.service.api, 'service_uid': sa.service_uid
|
'service_type': sa.service.api, 'service_uid': sa.service_uid,
|
||||||
'service_url': sa.service.url, }
|
'service_url': sa.service.url, }
|
||||||
else:
|
else:
|
||||||
return { 'access': False }
|
return { 'access': False }
|
||||||
|
|||||||
Reference in New Issue
Block a user