[fix] bad key path

This commit is contained in:
Laurent Peuch 2020-06-14 23:27:05 +02:00
parent f0da6f04a8
commit c1fea03faf

View file

@ -464,7 +464,7 @@ async def github(request):
if request.json["commit"]["committer"]:
commit_author = request.json["commit"]["committer"]["name"]
else:
commit_author = request.json["commit"]["author"]["name"]
commit_author = request.json["commit"]["commit"]["author"]["name"]
branches = ", ".join((x["name"] for x in request.json["branches"]))
if state not in ("success", "pending"):