From 12abf0c271d09fa88be4e865a5e4814606afc5d4 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 28 Oct 2019 14:12:20 +0000 Subject: [PATCH] 'action' -> 'event_action' --- modules/git_webhooks/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]))