[fix] missing variable

This commit is contained in:
Laurent Peuch 2019-02-13 22:02:42 +01:00
parent f54b77b634
commit ea6be5d9eb

View file

@ -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)