Fix listing end check

This commit is contained in:
FoxxMD
2021-06-01 22:45:52 -04:00
parent bbb09bb9fb
commit 2badffc75f

View File

@@ -48,7 +48,7 @@ export async function getAuthorActivities(user: RedditUser, options: AuthorTyped
listing = await user.getOverview({limit: chunkSize});
break;
}
let hitEnd = listing.isFinished;
let hitEnd = false;
while (!hitEnd) {
items = items.concat(listing);
if (typeof window === 'number') {