From 2badffc75f81cfaf10dc3fa39de055e504201090 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Tue, 1 Jun 2021 22:45:52 -0400 Subject: [PATCH] Fix listing end check --- src/Utils/SnoowrapUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/SnoowrapUtils.ts b/src/Utils/SnoowrapUtils.ts index a55bcea..c65fc28 100644 --- a/src/Utils/SnoowrapUtils.ts +++ b/src/Utils/SnoowrapUtils.ts @@ -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') {