aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-09 22:47:20 +0000
committerGravatar jesopo2019-01-09 22:47:20 +0000
commitaa04071d8976557a4661ae5e1d21213cc7eea55c (patch)
tree7353eeded2d29241c4077e1d23507d12b82de8db /modules/github.py
parentActually show deletions as deletions for github pull requests (github.py) (diff)
signature
`def github(` -> `def webhook(` (github.py)
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 1f7a9213..66b29898 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -83,7 +83,7 @@ class Module(ModuleManager.BaseModule):
page.data["title"], url))
@utils.hook("api.post.github")
- def github(self, event):
+ def webhook(self, event):
payload = event["data"].decode("utf8")
if event["headers"]["Content-Type"] == FORM_ENCODED:
payload = urllib.parse.unquote(urllib.parse.parse_qs(payload)[