mirror of https://github.com/Xhofe/alist
fix(189): typo
parent
c54cb61f14
commit
44b8c6abf7
|
@ -171,7 +171,7 @@ func (driver Cloud189) Login(account *model.Account) error {
|
|||
passwordRsa := RsaEncode([]byte(account.Password), jRsakey, true)
|
||||
url = "https://open.e.189.cn/api/logbox/oauth2/loginSubmit.do"
|
||||
var loginResp LoginResp
|
||||
res, err := client.R().
|
||||
res, err = client.R().
|
||||
SetHeaders(map[string]string{
|
||||
"lt": lt,
|
||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
|
||||
|
|
Loading…
Reference in New Issue