mirror of https://github.com/Xhofe/alist
fix(quark): lost files while number of files > 100 (fix #947)
parent
1b4740dae3
commit
1a1e86521f
|
@ -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++
|
||||
|
|
Loading…
Reference in New Issue