diff options
| author | 2019-10-28 14:13:14 +0000 | |
|---|---|---|
| committer | 2019-10-28 14:13:14 +0000 | |
| commit | 7287d9d083dd50168ec66fab3cf3fb140cff3be0 (patch) | |
| tree | 8eea22cff7b000eaad6208d856b79b4f53ec1b54 /modules/git_webhooks/__init__.py | |
| parent | 'action' -> 'event_action' (diff) | |
| signature | ||
we still need to pass the base "event" to handler.webhook
Diffstat (limited to 'modules/git_webhooks/__init__.py')
| -rw-r--r-- | modules/git_webhooks/__init__.py | 2 |
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: |
