'X-GitHub-Event' -> 'X-Github-Event' now that we .title() header keys

(github.py)
This commit is contained in:
jesopo 2018-12-06 12:09:43 +00:00
parent 9918a72f80
commit 7d59898485

View file

@ -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