[fix] link to comment, not pr

This commit is contained in:
Laurent Peuch 2019-02-06 13:51:27 +01:00
parent dc20ab0f1e
commit 478c1b3d07

View file

@ -210,7 +210,7 @@ async def github(request):
user = request.json["sender"]["login"] user = request.json["sender"]["login"]
pull_request_number = request.json["pull_request"]["number"] pull_request_number = request.json["pull_request"]["number"]
pull_request_title = request.json["pull_request"]["title"] pull_request_title = request.json["pull_request"]["title"]
url = request.json["pull_request"]["html_url"] url = request.json["review"]["html_url"]
if action == "submitted": if action == "submitted":
state = request.json["review"]["state"] state = request.json["review"]["state"]