'event["comment"]' -> 'data["comment"]'
This commit is contained in:
parent
024452bbac
commit
502dae0d75
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ class GitHub(object):
|
||||||
|
|
||||||
body = ""
|
body = ""
|
||||||
if not action == "deleted":
|
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" %
|
return ["[%s] %s %s on %s%s - %s" %
|
||||||
(type, commenter, COMMENT_ACTIONS[action], number, body, url)]
|
(type, commenter, COMMENT_ACTIONS[action], number, body, url)]
|
||||||
|
|
Loading…
Reference in a new issue