fix: temp fix ab cannot startup without qb live.

Close #839
This commit is contained in:
EstrellaXD
2024-09-15 11:22:01 +08:00
parent 54d34068bc
commit cbc3f1f91e
2 changed files with 21 additions and 25 deletions

View File

@@ -19,7 +19,7 @@ router = APIRouter(tags=["program"])
@router.on_event("startup")
async def startup():
program.startup()
await program.startup()
@router.on_event("shutdown")