mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-03-31 06:24:00 -04:00
fix(dondominio): change key JSON paramater from apikey to password (#969)
Fix #923
This commit is contained in:
@@ -119,11 +119,11 @@ func (p *Provider) Update(ctx context.Context, client *http.Client, ip netip.Add
|
||||
Host: "dondns.dondominio.com",
|
||||
Path: "/json/",
|
||||
RawQuery: url.Values{
|
||||
"user": {p.username},
|
||||
"apikey": {p.key},
|
||||
"host": {utils.BuildURLQueryHostname(p.owner, p.domain)},
|
||||
"ip": {ip.String()},
|
||||
"lang": {"en"},
|
||||
"user": {p.username},
|
||||
"password": {p.key},
|
||||
"host": {utils.BuildURLQueryHostname(p.owner, p.domain)},
|
||||
"ip": {ip.String()},
|
||||
"lang": {"en"},
|
||||
}.Encode(),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user