diff options
Diffstat (limited to 'modules/git_webhooks')
| -rw-r--r-- | modules/git_webhooks/__init__.py | 5 | ||||
| -rw-r--r-- | modules/git_webhooks/github.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/git_webhooks/__init__.py b/modules/git_webhooks/__init__.py index 55a45999..83e27d68 100644 --- a/modules/git_webhooks/__init__.py +++ b/modules/git_webhooks/__init__.py @@ -1,3 +1,8 @@ +#--depends-on channel_access +#--depends-on check_mode +#--depends-on commands +#--depends-on shorturl + import itertools, json, re, urllib.parse from src import ModuleManager, utils from . import colors, gitea, github 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"]: |
