From 7287d9d083dd50168ec66fab3cf3fb140cff3be0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 28 Oct 2019 14:13:14 +0000 Subject: we still need to pass the base "event" to handler.webhook --- modules/git_webhooks/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.3.1-10-gc9f91