diff options
Diffstat (limited to 'modules/github.py')
| -rw-r--r-- | modules/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py index c147ae42..5780d1eb 100644 --- a/modules/github.py +++ b/modules/github.py @@ -36,7 +36,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("api.post.github") def github(self, event): payload = event["data"].decode("utf8") - if event["headers"]["content-type"] == FORM_ENCODED: + if event["headers"]["Content-Type"] == FORM_ENCODED: payload = urllib.parse.parse_qs(urllib.parse.unquote(payload) )["payload"][0] data = json.loads(payload) |
