URL -> shortener_url

This commit is contained in:
jesopo 2020-03-09 00:02:45 +00:00
parent b3a18da182
commit 46dcf0e6c2

View file

@ -25,9 +25,9 @@ class Module(ModuleManager.BaseModule):
setting = context.get_setting("yourls", setting) setting = context.get_setting("yourls", setting)
if not setting == None: if not setting == None:
url, token = setting shortener_url, token = setting
page = utils.http.request(URL, post_data={ page = utils.http.request(shortener_url, post_data={
"signature": token, "signature": token,
"action": "shorturl", "action": "shorturl",
"url": url, "url": url,