From fcdc246ae82f6cc58afd59bc5bd027259756ff0f Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Tue, 24 Aug 2021 15:54:40 +0000 Subject: [PATCH] Fix: dd24 API call and #fix 236 --- internal/settings/providers/dd24/provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/settings/providers/dd24/provider.go b/internal/settings/providers/dd24/provider.go index 67853203d..5f6d68be4 100644 --- a/internal/settings/providers/dd24/provider.go +++ b/internal/settings/providers/dd24/provider.go @@ -100,9 +100,9 @@ func (p *provider) Update(ctx context.Context, client *http.Client, ip net.IP) ( values.Set("hostname", p.BuildDomainName()) values.Set("password", p.password) if p.useProviderIP { - values.Set("hostname", "auto") + values.Set("ip", "auto") } else { - values.Set("hostname", ip.String()) + values.Set("ip", ip.String()) } u.RawQuery = values.Encode()