["review"]["user"]["login"]
-> ["sender"]["login"]
to show who created a
pull_request_review event, not who started the review
This commit is contained in:
parent
3e0bd3ee85
commit
476e4cc9c1
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
action = data["action"]
|
action = data["action"]
|
||||||
pr_title = data["pull_request"]["title"]
|
pr_title = data["pull_request"]["title"]
|
||||||
reviewer = utils.irc.bold(data["review"]["user"]["login"])
|
reviewer = utils.irc.bold(data["sender"]["login"])
|
||||||
url = data["review"]["html_url"]
|
url = data["review"]["html_url"]
|
||||||
return ["[pr] %s %s a review on: %s - %s" % (reviewer, action, pr_title,
|
return ["[pr] %s %s a review on: %s - %s" % (reviewer, action, pr_title,
|
||||||
url)]
|
url)]
|
||||||
|
|
Loading…
Reference in a new issue