diff options
| author | 2018-12-06 18:35:46 +0000 | |
|---|---|---|
| committer | 2018-12-06 18:35:46 +0000 | |
| commit | 476e4cc9c178b732fcbf3b9adc1854528bf4fc6a (patch) | |
| tree | de90b2ad456da0a88866806e0a20457e462bd5de /modules/github.py | |
| parent | Add 'bot-channel' config in bot.conf.example and use it, if present, in (diff) | |
| signature | ||
`["review"]["user"]["login"]` -> `["sender"]["login"]` to show who created a
pull_request_review event, not who started the review
Diffstat (limited to 'modules/github.py')
| -rw-r--r-- | modules/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py index ed8bad8e..ea0fd80b 100644 --- a/modules/github.py +++ b/modules/github.py @@ -189,7 +189,7 @@ class Module(ModuleManager.BaseModule): action = data["action"] 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"] return ["[pr] %s %s a review on: %s - %s" % (reviewer, action, pr_title, url)] |
