From 7d59db9b9fdb9e84596d5f7b2b2f68d3ca3230e6 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 23 Dec 2023 16:45:09 -0800
Subject: refactor(media): use options object

---
 src/lib/List/Anime/DueAnimeList.svelte | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

(limited to 'src/lib/List/Anime/DueAnimeList.svelte')

diff --git a/src/lib/List/Anime/DueAnimeList.svelte b/src/lib/List/Anime/DueAnimeList.svelte
index e431ac89..efd4b31a 100644
--- a/src/lib/List/Anime/DueAnimeList.svelte
+++ b/src/lib/List/Anime/DueAnimeList.svelte
@@ -19,14 +19,9 @@
 	const keyCacher = setInterval(() => {
 		startTime = performance.now();
 		endTime = -1;
-		animeLists = mediaListCollection(
-			user,
-			identity,
-			Type.Anime,
-			$anime,
-			$lastPruneTimes.anime,
-			true
-		);
+		animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $lastPruneTimes.anime, {
+			forcePrune: true
+		});
 	}, $settings.cacheMinutes * 1000 * 60);
 
 	onMount(async () => {
-- 
cgit v1.2.3

