From aa04071d8976557a4661ae5e1d21213cc7eea55c Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 9 Jan 2019 22:47:20 +0000 Subject: `def github(` -> `def webhook(` (github.py) --- modules/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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)[ -- cgit v1.3.1-10-gc9f91