[fix] bad variable name

This commit is contained in:
Laurent Peuch 2019-02-06 23:00:46 +01:00
parent 818e4299d5
commit edcea4a41a

View file

@ -262,7 +262,7 @@ async def github(request):
elif action in ("labeled", "unlabeled"):
label = request.json["label"]
notify(f"[{repository}] @{user} {action} {label} on issue #{issue_number}: {issue_title} {url}", repository=repository)
notify(f"[{repository}] @{user} {action} {label} on pull_request #{pull_request_number}: {pull_request_title} {url}", repository=repository)
elif action == "closed":
if request.json["pull_request"]["merged"]: