we still need to pass the base "event" to handler.webhook

This commit is contained in:
jesopo 2019-10-28 14:13:14 +00:00
parent 12abf0c271
commit 7287d9d083

View file

@ -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: