Skip to content

Commit

Permalink
Fix continuation bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Jan 13, 2025
1 parent 684ce9e commit 9bc3af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/shared/storage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ extension BucketExt on Bucket {
String? prefix,
String? delimiter,
}) async {
var p = await pageWithRetry(prefix: prefix, delimiter: delimiter);
for (;;) {
var p = await pageWithRetry(prefix: prefix, delimiter: delimiter);
for (final item in p.items) {
await fn(item);
}
Expand Down

0 comments on commit 9bc3af6

Please sign in to comment.