Skip to content

Commit

Permalink
tldr-bot: fix for /comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck authored Sep 30, 2024
1 parent c95164f commit 920a963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tldr_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def comment():
if delete_resp.status_code != 204:
return make_response(delete_resp.text, 500)

# Post comment.
resp = post_comment(pr_id, comment_body)
# Post comment.
resp = post_comment(pr_id, comment_body)

if resp.status_code != 201:
return make_response(resp.text, 500)
Expand Down

0 comments on commit 920a963

Please sign in to comment.