mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] link to comment, not pr
This commit is contained in:
parent
dc20ab0f1e
commit
478c1b3d07
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue