Skip to content

Commit

Permalink
add github edit event
Browse files Browse the repository at this point in the history
  • Loading branch information
freeziyou committed Feb 4, 2024
1 parent ef80840 commit 0dc76bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/tasks/github/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ def on_issue(data: dict) -> list:
case "opened":
task = on_issue_opened.delay(event.model_dump())
return [task.id]
case "edited":
task = on_issue_updated.delay(event.model_dump())
return [task.id]
# TODO: 区分已关闭的 Issue
case _:
task = on_issue_updated.delay(event.model_dump())
Expand Down

0 comments on commit 0dc76bc

Please sign in to comment.