fix name mapping

This commit is contained in:
Peter Hormanns 2017-06-21 20:33:26 +02:00
parent 0c5e4774b8
commit b7f74efbfd

View File

@ -48,7 +48,7 @@ public class DomainRemote extends AbstractRemote {
} }
} }
final String validsubdomains = dom.getValidsubdomainnames(); final String validsubdomains = dom.getValidsubdomainnames();
resultMap.put("validsubdomains", validsubdomains); resultMap.put("validsubdomainnames", validsubdomains);
} }
@Override @Override
@ -75,7 +75,7 @@ public class DomainRemote extends AbstractRemote {
} }
dom.setDomainoptions(domainOptionsSet); dom.setDomainoptions(domainOptionsSet);
} }
final Object validsubdomains = setParams.get("validsubdomains"); final Object validsubdomains = setParams.get("validsubdomainnames");
if (validsubdomains != null && validsubdomains instanceof String) { if (validsubdomains != null && validsubdomains instanceof String) {
dom.setValidsubdomainnames((String) validsubdomains); dom.setValidsubdomainnames((String) validsubdomains);
} }