fix: Use list to allow for html formatting
This commit is contained in:
parent
73a8708b0f
commit
aed2cf52b1
@ -88,7 +88,7 @@ functions = {
|
|||||||
"url":
|
"url":
|
||||||
{
|
{
|
||||||
"name": "Login URL",
|
"name": "Login URL",
|
||||||
"type": "text"
|
"type": "list"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -331,4 +331,4 @@ def edit(params, authentication):
|
|||||||
if 'result' not in response:
|
if 'result' not in response:
|
||||||
return {"status": "Error signing message"}
|
return {"status": "Error signing message"}
|
||||||
signature = response["result"]
|
signature = response["result"]
|
||||||
return {"url": f"https://links.hns.au/auth?username={domain}&signature={signature}"}
|
return {"url": [f"<a href=https://links.hns.au/auth?username={domain}&signature={signature} target='_blank'>Edit HNS Links</a>"]}
|
Loading…
Reference in New Issue
Block a user