aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-28 14:13:14 +0000
committerGravatar jesopo2019-10-28 14:13:14 +0000
commit7287d9d083dd50168ec66fab3cf3fb140cff3be0 (patch)
tree8eea22cff7b000eaad6208d856b79b4f53ec1b54
parent'action' -> 'event_action' (diff)
signature
we still need to pass the base "event" to handler.webhook
-rw-r--r--modules/git_webhooks/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/__init__.py b/modules/git_webhooks/__init__.py
index c847866e..0dc03310 100644
--- a/modules/git_webhooks/__init__.py
+++ b/modules/git_webhooks/__init__.py
@@ -115,7 +115,7 @@ class Module(ModuleManager.BaseModule):
else:
return {"state": "success", "deliveries": 0}
- outputs = handler.webhook(full_name, current_event, data, headers)
+ outputs = handler.webhook(full_name, current_events[0], data, headers)
if outputs:
for server, channel in targets: