mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] bad variable name
This commit is contained in:
parent
818e4299d5
commit
edcea4a41a
1 changed files with 1 additions and 1 deletions
|
@ -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"]:
|
||||
|
|
Loading…
Reference in a new issue