Fixed ENS CLI lookup for Website.

This commit is contained in:
Richard Moore 2020-03-31 23:33:13 -04:00
parent 6c71b51512
commit 0f144c6cc0
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -203,7 +203,7 @@ class LookupPlugin extends EnsPlugin {
let email = await resolver.text(nodehash, "email").catch((error: any) => (""));
if (email) { details["E-mail"] = email; }
let website = await resolver.text(nodehash, "website").catch((error: any) => (""));
let website = await resolver.text(nodehash, "url").catch((error: any) => (""));
if (website) { details["Website"] = website; }
let content = await resolver.contenthash(nodehash).then((hash: string) => {