[fix] need to go one level deeper

This commit is contained in:
Laurent Peuch 2019-02-06 23:02:18 +01:00
parent edcea4a41a
commit b58e5b962e

View file

@ -174,7 +174,7 @@ async def github(request):
notify(f"[{repository}] @{user} {action} {label} on issue #{issue_number}: {issue_title} {url}", repository=repository)
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)
elif action == "demilestoned":