From 8e77a9a67659ad046d136d2eed298c91a93061f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Wed, 1 Sep 2021 00:00:24 +0200 Subject: [PATCH] Apply changes from production --- gogsmaker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gogsmaker.py b/gogsmaker.py index 53ee61c..cddf985 100644 --- a/gogsmaker.py +++ b/gogsmaker.py @@ -158,6 +158,8 @@ def gogs_payload(required): @gogs_payload(['repository/clone_url']) def view_root(payload, hook): clone_url = payload['repository']['clone_url'] + if 'clone_url' in hook: + clone_url = hook['clone_url'] try: update_repo(hook, clone_url)