From bb8a2d2528922593d486563d9fdbb244c2786a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Fri, 28 Nov 2014 13:36:52 +0100 Subject: [PATCH] Added the key to the webhook url setting --- taiga/hooks/gitlab/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taiga/hooks/gitlab/services.py b/taiga/hooks/gitlab/services.py index 340420a1..3b99dff6 100644 --- a/taiga/hooks/gitlab/services.py +++ b/taiga/hooks/gitlab/services.py @@ -31,7 +31,7 @@ def get_or_generate_config(project): url = reverse("gitlab-hook-list") url = get_absolute_url(url) - url = "%s?project=%s"%(url, project.id) + url = "{}?project={}&key={}".format(url, project.id, g_config["secret"]) g_config["webhooks_url"] = url return g_config