mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] need to go one level deeper
This commit is contained in:
parent
edcea4a41a
commit
b58e5b962e
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ async def github(request):
|
||||||
notify(f"[{repository}] @{user} {action} {label} on issue #{issue_number}: {issue_title} {url}", repository=repository)
|
notify(f"[{repository}] @{user} {action} {label} on issue #{issue_number}: {issue_title} {url}", repository=repository)
|
||||||
|
|
||||||
elif action == "milestoned":
|
elif action == "milestoned":
|
||||||
milestone = request.json["issue"]["milestone"]
|
milestone = request.json["issue"]["milestone"]["title"]
|
||||||
notify(f"[{repository}] @{user} {action} {milestone} issue #{issue_number}: {issue_title} {url}", repository=repository)
|
notify(f"[{repository}] @{user} {action} {milestone} issue #{issue_number}: {issue_title} {url}", repository=repository)
|
||||||
|
|
||||||
elif action == "demilestoned":
|
elif action == "demilestoned":
|
||||||
|
|
Loading…
Reference in a new issue