diff options
| author | 2019-11-19 12:24:30 +0000 | |
|---|---|---|
| committer | 2019-11-19 12:24:30 +0000 | |
| commit | 502dae0d75b7a603ae77da33228321ad7e73d22d (patch) | |
| tree | 90c280f99fdd5293a501da54b19977df1e27db6b /modules/git_webhooks/github.py | |
| parent | expirental code to show comment content for github issue_comment webhooks (diff) | |
| signature | ||
'event["comment"]' -> 'data["comment"]'
Diffstat (limited to 'modules/git_webhooks/github.py')
| -rw-r--r-- | modules/git_webhooks/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py index 1a09f499..8cedae2a 100644 --- a/modules/git_webhooks/github.py +++ b/modules/git_webhooks/github.py @@ -384,7 +384,7 @@ class GitHub(object): body = "" if not action == "deleted": - body = ": %s" % self._comment(event["comment"]["body"]) + body = ": %s" % self._comment(data["comment"]["body"]) return ["[%s] %s %s on %s%s - %s" % (type, commenter, COMMENT_ACTIONS[action], number, body, url)] |
