Apply changes from production

This commit is contained in:
Théophile Bastian 2021-09-01 00:00:24 +02:00
parent 33a79f14b7
commit 8e77a9a676

View file

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