generated from nathanwoodburn/firewallet-plugin-template
feat: Add link to listing
This commit is contained in:
@@ -64,7 +64,7 @@ def domain_info(params, authentication):
|
||||
if domainType == "marketplace":
|
||||
score = data["data"].get("score", "No score available")
|
||||
price = data["data"].get("price", "No price available")
|
||||
return {"info": f"<h2>Score {score}<br>Price {price}</h2>"}
|
||||
return {"info": f"<h4>Score: {score}<br>Price: {price}</h4><br><a href='https://shakestation.io/domain/{domain}'>View Listing</a>"}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user