aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-17 11:50:57 +0100
committerGravatar jesopo2019-10-17 11:50:57 +0100
commit8ff4ad19eb8b68a629815209d11cef97d035d22e (patch)
treee5e920442ff57e2be7091b5b4e1bdfeae5656ac9
parent'issues' should be an alias for 'issue' in gitlab (diff)
signature
we should be showing 'title' (not 'description') for gitlab issue events
-rw-r--r--modules/git_webhooks/gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py
index 9a315e47..2f2a34eb 100644
--- a/modules/git_webhooks/gitlab.py
+++ b/modules/git_webhooks/gitlab.py
@@ -144,7 +144,7 @@ class GitLab(object):
number = utils.irc.color("#%s" % data["object_attributes"]["iid"],
colors.COLOR_ID)
action = data["object_attributes"]["action"]
- issue_title = data["object_attributes"]["description"]
+ issue_title = data["object_attributes"]["title"]
author = utils.irc.bold(data["user"]["username"])
url = data["object_attributes"]["url"]