add required arg to fix error

This commit is contained in:
Micha Albert 2024-10-05 15:23:19 -04:00
parent 8b4f6b8d26
commit 6cae3e52d0

View file

@ -172,7 +172,7 @@ async def check_for_new():
@asynccontextmanager @asynccontextmanager
async def lifespan(): async def lifespan(_):
await db.connect() await db.connect()
async with httpx.AsyncClient() as client: async with httpx.AsyncClient() as client:
for stream in await db.stream.find_many(): for stream in await db.stream.find_many():