NS1: Improve nameserver handling (#2295)

Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
Tom Limoncelli 2023-05-01 18:44:25 -04:00 committed by GitHub
parent 780e17ada9
commit 18b8ce791a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ func (n *nsone) GetNameservers(domain string) ([]*models.Nameserver, error) {
nservers = append(nservers, ns)
}
}
return models.ToNameservers(nservers)
return models.ToNameserversStripTD(nservers)
}
// GetZoneRecords gets the records of a zone and returns them in RecordConfig format.