fix(quark): lost files while number of files > 100 (fix #947)
This commit is contained in:
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 {
|
for _, f := range resp.Data.List {
|
||||||
files = append(files, *driver.formatFile(&f))
|
files = append(files, *driver.formatFile(&f))
|
||||||
}
|
}
|
||||||
if page*size >= resp.Metadata.Count {
|
if page*size >= resp.Metadata.Total {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
page++
|
page++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user