Skip to content

Commit

Permalink
🐛 add default value for mentions in reply response
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Jun 26, 2024
1 parent 538d539 commit c2ea278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot/adapters/feishu/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class Reply(BaseModel):
chat_id: str
sender: ReplySender
body: MessageBody
mentions: list[ReplyMention]
mentions: list[ReplyMention] = []
upper_message_id: Optional[str] = None

if PYDANTIC_V2:
Expand Down

0 comments on commit c2ea278

Please sign in to comment.