Skip to content

Commit

Permalink
Merge pull request #183 from ConnectAI-E/feature-lloyd-20240201
Browse files Browse the repository at this point in the history
Feature lloyd 20240201
  • Loading branch information
lloydzhou authored Feb 1, 2024
2 parents 2aa8397 + 1ad69b8 commit 7c72c83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/tasks/github/pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def on_pull_request_opened(event_dict: dict | list | None) -> list:
repo_id=repo.id,
pull_request_number=pr_info.number,
title=pr_info.title,
description=pr_info.body,
description=pr_info.body[:1000],
base=pr_info.base.ref,
head=pr_info.head.ref,
state=pr_info.state,
Expand Down
2 changes: 1 addition & 1 deletion server/tasks/lark/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def create_issue(
title = json.loads(parent_message["body"]["content"]).get("text")
if not title:
return send_chat_failed_tip(
"issue 标题为空", app_id, message_id, content, data, *args, bot=bot, **kwargs
"issue 标题为空", app_id, message_id, content, data, *args, **kwargs
)

chat_id = data["event"]["message"]["chat_id"]
Expand Down

0 comments on commit 7c72c83

Please sign in to comment.