From dff4d7db45630b1899bc1c2a0d1b8a01cc914c95 Mon Sep 17 00:00:00 2001 From: Timo Steidle Date: Wed, 10 Aug 2016 11:31:25 +0200 Subject: [PATCH] Use PRODUCTION_DOMAIN as webhook id --- readthedocs/oauth/services/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/oauth/services/gitlab.py b/readthedocs/oauth/services/gitlab.py index 69edf5c5313..f7418df57b7 100644 --- a/readthedocs/oauth/services/gitlab.py +++ b/readthedocs/oauth/services/gitlab.py @@ -178,7 +178,7 @@ def setup_webhook(self, project): # See: http://doc.gitlab.com/ce/api/projects.html#add-project-hook data = json.dumps({ - 'id': 'readthedocs', + 'id': settings.PRODUCTION_DOMAIN, 'push_events': True, 'issues_events': False, 'merge_requests_events': False,