Skip to content

Commit

Permalink
Merge pull request #208 from ConnectAI-E/add-github-edited
Browse files Browse the repository at this point in the history
Add GitHub edited
  • Loading branch information
lloydzhou authored Feb 4, 2024
2 parents 67ac36c + 0dc76bc commit 846cd01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/tasks/github/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def on_issue_comment(data: dict) -> list:
case "created":
task = on_issue_comment_created.delay(event.model_dump())
return [task.id]
case "edited":
task = on_issue_comment_created.delay(event.model_dump())
return [task.id]
case _:
app.logger.info(f"Unhandled issue event action: {action}")
return []
Expand Down

0 comments on commit 846cd01

Please sign in to comment.