Skip to content

Commit

Permalink
Fix: dd24 API call and #fix 236
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Aug 24, 2021
1 parent 51dd14c commit fcdc246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/settings/providers/dd24/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit fcdc246

Please sign in to comment.