Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwanying committed Dec 16, 2024
1 parent c9b7430 commit ded1050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/bot/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ded1050

Please sign in to comment.