Skip to content

Commit

Permalink
fix: Use new way for getting records on ns1.
Browse files Browse the repository at this point in the history
It was introduced with this PR:
ns1/ns1-go#211
  • Loading branch information
mloiseleur committed Aug 4, 2023
1 parent 55a42e3 commit 1f640e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/ns1/ns1.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (n NS1DomainService) UpdateRecord(r *dns.Record) (*http.Response, error) {

// GetZone wraps the Get method of the API's Zones service
func (n NS1DomainService) GetZone(zone string) (*dns.Zone, *http.Response, error) {
return n.service.Zones.Get(zone)
return n.service.Zones.Get(zone, true)
}

// ListZones wraps the List method of the API's Zones service
Expand Down

0 comments on commit 1f640e2

Please sign in to comment.