dns: fqdn only needs domain string
This is from the caas days, when we had hyphenated subdomains flag
This commit is contained in:
+1
-2
@@ -985,8 +985,7 @@ async function setLocation(subdomain, domain, auditSource) {
|
||||
assert.strictEqual(typeof domain, 'string');
|
||||
assert.strictEqual(typeof auditSource, 'object');
|
||||
|
||||
const domainObject = await domains.get(domain);
|
||||
const fqdn = dns.fqdn(subdomain, domainObject);
|
||||
const fqdn = dns.fqdn(subdomain, domain);
|
||||
|
||||
await settings.setMailLocation(domain, fqdn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user