From 475c198edf1f64d18a80bb8c912d743dcabe01f3 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 13 Sep 2023 02:02:14 -0700 Subject: refactor(anilist): move to single path --- src/lib/List/Due/MangaList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/List/Due') diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte index b1c7882a..836899fc 100644 --- a/src/lib/List/Due/MangaList.svelte +++ b/src/lib/List/Due/MangaList.svelte @@ -102,7 +102,7 @@ const updateMedia = async (id: number, progress: number | undefined) => { await chapterDatabase.chapters.delete(id); - await fetch(`/api/anilist/increment?id=${id}&progress=${(progress || 0) + 1}`).then(() => { + await fetch(`/api/anilist-increment?id=${id}&progress=${(progress || 0) + 1}`).then(() => { mangaLists = mediaListCollection( user, identity, -- cgit v1.2.3