From 44b8c6abf7555c9bdb401e583edb66f1185c98ba Mon Sep 17 00:00:00 2001 From: Xhofe Date: Sun, 8 May 2022 14:28:26 +0800 Subject: [PATCH] fix(189): typo --- drivers/189/189.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/189/189.go b/drivers/189/189.go index 251987f3a44..f921a749d15 100644 --- a/drivers/189/189.go +++ b/drivers/189/189.go @@ -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",