aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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)[