diff options
| author | 2019-10-28 14:12:20 +0000 | |
|---|---|---|
| committer | 2019-10-28 14:12:20 +0000 | |
| commit | 12abf0c271d09fa88be4e865a5e4814606afc5d4 (patch) | |
| tree | 53e183f2b486517e00a419f2f8a214679eb0dcb4 /modules/git_webhooks | |
| parent | support event 'category' for GitLab (e.g. Note events but only for Issues) (diff) | |
| signature | ||
'action' -> 'event_action'
Diffstat (limited to 'modules/git_webhooks')
| -rw-r--r-- | modules/git_webhooks/gitlab.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py index 998e8faf..c20dfdd0 100644 --- a/modules/git_webhooks/gitlab.py +++ b/modules/git_webhooks/gitlab.py @@ -85,7 +85,7 @@ class GitLab(object): if "noteable_type" in data["object_attributes"]: category = data["object_attributes"]["noteable_type"].lower() category = "%s+%s" % (event, category) - category_action = "%s/%s" % (category, action) + category_action = "%s/%s" % (category, event_action) return list(filter([event, event_action, category, category_action])) |
