Skip to content

Commit

Permalink
INWX: Support up to 2,147,483,647 domains (old limit was 20) (#2566)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Limoncelli <[email protected]>
  • Loading branch information
patschi and tlimoncelli authored Sep 27, 2023
1 parent 69bf714 commit 4e3f5f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/inwx/inwxProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ func (api *inwxAPI) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.
// fetchNameserverDomains returns the domains configured in INWX nameservers
func (api *inwxAPI) fetchNameserverDomains() error {
request := &goinwx.DomainListRequest{}
request.PageLimit = 2147483647 // int32 max value, highest number API accepts
info, err := api.client.Domains.List(request)
if err != nil {
return err
Expand Down

0 comments on commit 4e3f5f3

Please sign in to comment.