tolerate-auth
All checks were successful
deploy / deploy (push) Successful in 1m11s

This commit is contained in:
Untone 2023-12-22 12:34:47 +03:00
parent 0139819f27
commit 999fafac71
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
[0.1.0]
- resolvers: schema refactored to model, seen, load
- services: core queries fixed
- services: auth middleware
- services: redis pattern subscribe method
- orm: timestamp default fix
[0.0.3]
- httpx -> aiohttp
- sentry integrations added

View File

@ -51,8 +51,7 @@ 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="Unathorized")
return None
class LoginRequiredMiddleware(Extension):