diff --git a/server/model/domain_expiry.js b/server/model/domain_expiry.js index bb802e1bf..261a0e21d 100644 --- a/server/model/domain_expiry.js +++ b/server/model/domain_expiry.js @@ -167,7 +167,7 @@ class DomainExpiry extends BeanModel { throw new TranslatableError("domain_expiry_public_suffix_too_short", { publicSuffix: tld.publicSuffix }); } if (!tld.isIcann) { - throw new TranslatableError("domain_expiry_unsupported_is_icann", { hostname: tld.hostname }); + throw new TranslatableError("domain_expiry_unsupported_is_icann", { domain: tld.domain }); } const rdap = await getRdapServer(tld.publicSuffix);