Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
freeziyou committed Jan 26, 2024
1 parent 0549a85 commit 1a86aaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/tasks/lark/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def create_issue(
message_type = data["event"]["message"].get("message_type", None)
if "post" == message_type:
content, title = post_content_to_markdown(content, False)
# desc 从 body 第二行开始读取,第一行作为 /issue @user labels 解析
body = "\n".join(content.split("\n")[1:])

# 如果title是空的,尝试从parent_message拿到内容
Expand Down

0 comments on commit 1a86aaa

Please sign in to comment.