From b58e5b962e7c42935ff447ce65b4bcebfad63408 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 6 Feb 2019 23:02:18 +0100 Subject: [PATCH] [fix] need to go one level deeper --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 7890bd9..bc89968 100644 --- a/server.py +++ b/server.py @@ -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":