Fixed bot

This commit is contained in:
Darks 2022-12-17 23:58:13 +01:00
parent ea63163fd8
commit c5ff33425c
Signed by: Darks
GPG Key ID: 7515644268BE1433
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -124,7 +124,7 @@ def main():
if event == "pull_request" and data["action"] in ["assigned", "closed", "synchronized", "edited"]:
return "IGN"
if event == "pull_request_review_approved" and data["action"] == "reviewed":
if event == "pull_request_approved" and data["action"] == "reviewed":
url_user = make_url_user(data['sender'])
url_pr = f"[url={data['pull_request']['url']}]{data['pull_request']['title']}[/url]"