From ded10500387ac1758854725f676294d0c067d8bd Mon Sep 17 00:00:00 2001 From: yingying Date: Mon, 16 Dec 2024 13:29:48 +0800 Subject: [PATCH] chore: fix ci --- server/bot/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bot/router.py b/server/bot/router.py index 36fd714b..4bd489ed 100644 --- a/server/bot/router.py +++ b/server/bot/router.py @@ -116,7 +116,7 @@ def get_bot_config( id: Optional[str] = Query(None, description="Filter bots by personal category"), user: Annotated[User | None, Depends(get_user)] = None, ): - if not user or not user.access_token: + if not user or not user.access_token or not id: return {"data": []} try: auth = Auth.Token(token=user.access_token)