finish teambition chunk upload

This commit is contained in:
微凉
2022-01-26 14:05:35 +08:00
parent df513b7dc0
commit c70fc3fc4b
2 changed files with 9 additions and 2 deletions

View File

@ -273,8 +273,8 @@ func (driver Teambition) Upload(file *model.FileStream, account *model.Account)
newFile, err = driver.upload(file, token, account)
} else {
// chunk upload
err = base.ErrNotImplement
//newFile, err = driver.chunkUpload(file, token, account)
//err = base.ErrNotImplement
newFile, err = driver.chunkUpload(file, token, account)
}
if err != nil {
return err