From b220eddf448643fcf3c8f08adbb2b44103abf373 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 14 Sep 2023 02:43:44 -0700
Subject: feat(manga): best guess estimation

---
 src/lib/List/Due/MangaList.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/List/Due/MangaList.svelte')

diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte
index 836899fc..e13a4747 100644
--- a/src/lib/List/Due/MangaList.svelte
+++ b/src/lib/List/Due/MangaList.svelte
@@ -62,7 +62,7 @@
 		);
 		let finalMedia = releasingMedia;
 
-		const chapterPromises = finalMedia.map((m: Media) => chapterCount(m));
+		const chapterPromises = finalMedia.map((m: Media) => chapterCount(identity, m));
 		const chapterCounts = await Promise.all(chapterPromises);
 
 		finalMedia.forEach((m: Media, i) => {
-- 
cgit v1.2.3

