Actually pass gitea handler for gitea hooks

This commit is contained in:
jesopo 2019-06-24 17:35:55 +01:00
parent 280fd68f7f
commit f10989e8bf

View file

@ -29,7 +29,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("api.post.gitea")
def _api_gitea_webhook(self, event):
return self._webhook("gitea", "Gitea", self._github,
return self._webhook("gitea", "Gitea", self._gitea,
event["data"], event["headers"])
def _webhook(self, webhook_type, webhook_name, handler, payload_str,