diff options
| author | 2018-12-06 12:01:23 +0000 | |
|---|---|---|
| committer | 2018-12-06 12:01:23 +0000 | |
| commit | 786e8b89a3a93610c22df8c0b28891ed3870d963 (patch) | |
| tree | 14200ccd403d9ae6928f3da0883548e1fbf02b61 /modules/github.py | |
| parent | .title() all header keys (rest_api.py) (diff) | |
| signature | ||
'content-type' -> 'Content-Type' (github.py)
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) |
