mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2026-01-29 13:32:12 -05:00
add required arg to fix error
This commit is contained in:
parent
8b4f6b8d26
commit
6cae3e52d0
1 changed files with 1 additions and 1 deletions
|
|
@ -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():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue