mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:54:09 -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",
|
Host: "dondns.dondominio.com",
|
||||||
Path: "/json/",
|
Path: "/json/",
|
||||||
RawQuery: url.Values{
|
RawQuery: url.Values{
|
||||||
"user": {p.username},
|
"user": {p.username},
|
||||||
"apikey": {p.key},
|
"password": {p.key},
|
||||||
"host": {utils.BuildURLQueryHostname(p.owner, p.domain)},
|
"host": {utils.BuildURLQueryHostname(p.owner, p.domain)},
|
||||||
"ip": {ip.String()},
|
"ip": {ip.String()},
|
||||||
"lang": {"en"},
|
"lang": {"en"},
|
||||||
}.Encode(),
|
}.Encode(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user