fix(quark): lost files while number of files > 100 (fix #947)

pull/958/head
Xhofe 2022-04-16 21:06:33 +08:00
parent 1b4740dae3
commit 1a1e86521f
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ func (driver Quark) GetFiles(parent string, account *model.Account) ([]model.Fil
for _, f := range resp.Data.List {
files = append(files, *driver.formatFile(&f))
}
if page*size >= resp.Metadata.Count {
if page*size >= resp.Metadata.Total {
break
}
page++