tolerate-auth-for-schema-inspect
All checks were successful
deploy / deploy (push) Successful in 1m5s

This commit is contained in:
Untone 2023-12-18 10:47:50 +03:00
parent 315fe9fa49
commit 25b6a6f50a

View File

@ -47,9 +47,6 @@ async def check_auth(req) -> str | None:
# Handling and logging exceptions during authentication check
print(f"[services.auth] {e}")
if not user_id:
raise HTTPException(status_code=401,detail="Unauthorized")
class LoginRequiredMiddleware(Extension):
async def on_request_start(self):