Skip to content

Commit

Permalink
fix(139): update familyGetFiles pagination logic (#7748 close #7711)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs authored Dec 30, 2024
1 parent 6745dcc commit 7fd4ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/139/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (d *Yun139) familyGetFiles(catalogID string) ([]model.Obj, error) {
}
files = append(files, &f)
}
if 100*pageNum > resp.Data.TotalCount {
if resp.Data.TotalCount == 0 {
break
}
pageNum++
Expand Down

0 comments on commit 7fd4ac7

Please sign in to comment.