diff options
| author | 2019-06-24 17:35:55 +0100 | |
|---|---|---|
| committer | 2019-06-24 17:35:55 +0100 | |
| commit | f10989e8bfc67c1f8fc5b4ba62059b3f6452a3d0 (patch) | |
| tree | 380e67ee35815c7a2add511034dadfe9e74eec1f /modules/git_webhooks/__init__.py | |
| parent | use pusher 'login' not 'name' - gitea doesn't have 'name' (diff) | |
| signature | ||
Actually pass gitea handler for gitea hooks
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 e140d33d..8ca1ae22 100644 --- a/modules/git_webhooks/__init__.py +++ b/modules/git_webhooks/__init__.py @@ -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, |
