mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-23 18:47:03 +08:00
fix(189): adapt new login method (close #4378)
This commit is contained in:
@@ -32,7 +32,7 @@ func (d *Cloud189) GetAddition() driver.Additional {
|
||||
func (d *Cloud189) Init(ctx context.Context) error {
|
||||
d.client = base.NewRestyClient().
|
||||
SetHeader("Referer", "https://cloud.189.cn/")
|
||||
return d.login()
|
||||
return d.newLogin()
|
||||
}
|
||||
|
||||
func (d *Cloud189) Drop(ctx context.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user