mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] branches aren't at that level
This commit is contained in:
parent
c16e84fda7
commit
1fbb3c6a30
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ async def github(request):
|
|||
url = request.json["commit"]["html_url"]
|
||||
commit_message = request.json["commit"]["commit"]["message"].replace("\n", " ")
|
||||
commit_author = request.json["commit"]["committer"]["login"]
|
||||
branches = ", ".join((x["name"] for x in request.json["commit"]["branches"]))
|
||||
branches = ", ".join((x["name"] for x in request.json["branches"]))
|
||||
|
||||
if state not in ("success", "pending"):
|
||||
await notify(
|
||||
|
|
Loading…
Reference in a new issue