mirror of https://github.com/Xhofe/alist
fix(xunlei):login error
parent
f23bec9a35
commit
5258c21656
|
@ -211,7 +211,7 @@ func (c *Client) Request(method string, url string, callback func(*resty.Request
|
||||||
"X-Captcha-Token": c.captchaToken,
|
"X-Captcha-Token": c.captchaToken,
|
||||||
"User-Agent": c.userAgent,
|
"User-Agent": c.userAgent,
|
||||||
"client_id": c.clientID,
|
"client_id": c.clientID,
|
||||||
})
|
}).SetQueryParam("client_id", c.clientID)
|
||||||
if callback != nil {
|
if callback != nil {
|
||||||
callback(req)
|
callback(req)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue