mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] missing variable
This commit is contained in:
parent
f54b77b634
commit
ea6be5d9eb
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue