aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-12-06 12:09:43 +0000
committerGravatar jesopo2018-12-06 12:09:58 +0000
commit7d5989848515456a403aa58050b9313993c31f4d (patch)
tree505d80a09ab676a38efb9ca3bd7bd0f85e9a26c7
parent.items() on self.headers, to correctly use it for a dict comprehension (diff)
signature
'X-GitHub-Event' -> 'X-Github-Event' now that we .title() header keys
(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 5780d1eb..ed8bad8e 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -41,7 +41,7 @@ class Module(ModuleManager.BaseModule):
)["payload"][0]
data = json.loads(payload)
- github_event = event["headers"]["X-GitHub-Event"]
+ github_event = event["headers"]["X-Github-Event"]
if github_event == "ping":
return True