From 4a1c72dfdc48fa55e65e3e91426448abfeaff478 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 4 Jan 2024 00:51:36 -0800
Subject: refactor(media): client-side increment

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

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

diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte
index caae9b2f..7e97ba59 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -114,7 +114,7 @@
 									lastUpdatedMedia = anime.id;
 									pendingUpdate = anime.id;
 
-									incrementMediaProgress(anime.id, anime.mediaListEntry?.progress, () => {
+									incrementMediaProgress(anime.id, anime.mediaListEntry?.progress, user, () => {
 										const mediaListEntry = media.find((m) => m.id === anime.id)?.mediaListEntry;
 
 										if (mediaListEntry) mediaListEntry.progress = progress + 1;
-- 
cgit v1.2.3

