From ea6be5d9eb8acda50c9dbcb125b318dbd2b38cde Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 13 Feb 2019 22:02:42 +0100 Subject: [PATCH] [fix] missing variable --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 57c7f8a..8fb9946 100644 --- a/server.py +++ b/server.py @@ -104,6 +104,7 @@ async def github(request): user = request.json["comment"]["user"]["login"] commit_short_id = request.json["comment"]["commit_id"][:7] comment = request.json["comment"]["body"].replace("\r\n", " ") + url = request.json["comment"]["html_url"] notify(f"[{repository}] @{user} comment on commit {commit_short_id}: {comment} {url}", repository=repository)