There was an error while loading. Please reload this page.
1 parent cbb086c commit 1fd6fb4Copy full SHA for 1fd6fb4
1 file changed
controllers/bluesky/indexer.ts
@@ -86,7 +86,8 @@ export class BlueskyIndexer {
86
});
87
}
88
89
- if (!nextCursor) {
+ // Break if no more results OR no cursor (API returns empty feed with cursor when done)
90
+ if (feed.length === 0 || !nextCursor) {
91
break;
92
93
@@ -154,7 +155,8 @@ export class BlueskyIndexer {
154
155
156
157
158
159
160
161
162
@@ -220,7 +222,8 @@ export class BlueskyIndexer {
220
222
221
223
224
225
226
227
228
229
0 commit comments