Apply suggestion from @CommanderStorm

This commit is contained in:
Frank Elsinga 2026-01-14 18:02:32 +01:00 committed by GitHub
parent 9ea2752d09
commit 3f8208f205
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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", { domain: tld.domain });
throw new TranslatableError("domain_expiry_unsupported_is_icann", { domain: tld.domain, publicSuffix: tld.publicSuffix });
}
const rdap = await getRdapServer(tld.publicSuffix);