We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d541d6 commit 208f378Copy full SHA for 208f378
app/main.py
@@ -20,9 +20,11 @@ async def lifespan(app: FastAPI):
20
await Cache.close()
21
22
23
-app = FastAPI(lifespan=lifespan)
+# TODO(onyb): Add lifespan to FastAPI when we actually need Redis
24
+app = FastAPI(lifespan=None)
25
26
27
+# API routers
28
app.include_router(base_router)
29
app.include_router(pricing_router)
30
app.include_router(nfts_router)
0 commit comments