Added the key to the webhook url setting

remotes/origin/enhancement/email-actions
Jesús Espino 2014-11-28 13:36:52 +01:00 committed by David Barragán Merino
parent 268bc70a1e
commit bb8a2d2528
1 changed files with 1 additions and 1 deletions

View File

@ -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