From d3a95abfe4bb7f84360e5bbf36f2c4267b5651de Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 12 Jun 2023 11:05:27 +0800 Subject: [PATCH] bugfix --- ahserver/auth_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/auth_api.py b/ahserver/auth_api.py index 27cf0d5..38aa1d1 100755 --- a/ahserver/auth_api.py +++ b/ahserver/auth_api.py @@ -59,7 +59,7 @@ class AuthAPI(AppLogger): # print(f'**{path} forbidden**') raise web.HTTPForbidden() - async def checkUserPermission(user, path): + async def checkUserPermission(self, user, path): return True async def needAuth(self,path):