auth-check-middleware-2
All checks were successful
deploy / deploy (push) Successful in 1m8s

This commit is contained in:
2023-12-17 14:45:20 +03:00
parent 01d7935cbd
commit 737cc40353
3 changed files with 3 additions and 33 deletions

View File

@@ -9,7 +9,6 @@ from sentry_sdk.integrations.strawberry import StrawberryIntegration
from strawberry.asgi import GraphQL
from starlette.applications import Starlette
from services.auth import TokenMiddleware
from services.rediscache import redis
from resolvers.listener import reactions_worker
from resolvers.schema import schema
@@ -50,5 +49,4 @@ async def shutdown():
app = Starlette(debug=True, on_startup=[start_up], on_shutdown=[shutdown])
app.add_middleware(TokenMiddleware)
app.mount("/", GraphQL(schema, debug=True))