aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-25 17:53:00 +0100
committerGravatar jesopo2019-06-25 17:53:00 +0100
commit12181bfec6c3219571d50779a21e649f23e2b030 (patch)
tree957f74cce2eea46a53bd643e46d4e576012d4e2d /modules/git_webhooks/github.py
parentcatch and format "unknown record type" exceptions (diff)
signature
Add system to have multiple url shorteners and chose which to use
Diffstat (limited to 'modules/git_webhooks/github.py')
-rw-r--r--modules/git_webhooks/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py
index 1df948e4..a5fd32ed 100644
--- a/modules/git_webhooks/github.py
+++ b/modules/git_webhooks/github.py
@@ -343,7 +343,7 @@ class GitHub(object):
url = ""
if data["check_run"]["details_url"]:
url = data["check_run"]["details_url"]
- url = " - %s" % self.exports.get_one("shortlink")(url)
+ url = " - %s" % self.exports.get_one("shorturl-any")(url)
duration = ""
if data["check_run"]["completed_at"]: