From 0f144c6cc03082026080782356b940af3389b34e Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Tue, 31 Mar 2020 23:33:13 -0400 Subject: [PATCH] Fixed ENS CLI lookup for Website. --- packages/cli/src.ts/bin/ethers-ens.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src.ts/bin/ethers-ens.ts b/packages/cli/src.ts/bin/ethers-ens.ts index 194ced7483..765c5cd821 100644 --- a/packages/cli/src.ts/bin/ethers-ens.ts +++ b/packages/cli/src.ts/bin/ethers-ens.ts @@ -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) => {