'X-GitHub-Event' -> 'X-Github-Event' now that we .title() header keys
(github.py)
This commit is contained in:
parent
9918a72f80
commit
7d59898485
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
)["payload"][0]
|
)["payload"][0]
|
||||||
data = json.loads(payload)
|
data = json.loads(payload)
|
||||||
|
|
||||||
github_event = event["headers"]["X-GitHub-Event"]
|
github_event = event["headers"]["X-Github-Event"]
|
||||||
if github_event == "ping":
|
if github_event == "ping":
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue