Skip to content

Commit

Permalink
Fixed ENS CLI lookup for Website.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Apr 1, 2020
1 parent 6c71b51 commit 0f144c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src.ts/bin/ethers-ens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 0f144c6

Please sign in to comment.