Don't remove eyes

This commit is contained in:
Ori Kotek
2023-08-07 16:28:20 +03:00
parent 886139c6b5
commit a75253097b
3 changed files with 3 additions and 9 deletions

View File

@ -64,10 +64,8 @@ async def run_action():
body = comment_body.strip().lower()
comment_id = event_payload.get("comment", {}).get("id")
provider = get_git_provider()(pr_url=pr_url)
added_reaction = provider.add_eyes_reaction(comment_id)
provider.add_eyes_reaction(comment_id)
await PRAgent().handle_request(pr_url, body)
if added_reaction:
provider.remove_reaction(comment_id, added_reaction)
if __name__ == '__main__':