INWX: Support up to 2,147,483,647 domains (old limit was 20) (#2566)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Patrik Kernstock 2023-09-27 14:13:07 +01:00 committed by GitHub
parent 69bf714852
commit 4e3f5f31c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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