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: