diff --git a/main.py b/main.py index 69c586d..a05ffd7 100644 --- a/main.py +++ b/main.py @@ -910,6 +910,8 @@ async def reminder_loop() -> None: await asyncio.sleep(5) + + @asynccontextmanager async def lifespan(_: FastAPI): global reminder_task