From c4267cce67e7de6dea2277ce07b6f9a22d8ca674 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 14 Dec 2023 12:52:26 -0800
Subject: feat(api): nest routes

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

(limited to 'src/lib/List/Manga/MangaListTemplate.svelte')

diff --git a/src/lib/List/Manga/MangaListTemplate.svelte b/src/lib/List/Manga/MangaListTemplate.svelte
index aac5928d..b0179ca1 100644
--- a/src/lib/List/Manga/MangaListTemplate.svelte
+++ b/src/lib/List/Manga/MangaListTemplate.svelte
@@ -131,7 +131,7 @@
 		lastUpdatedMedia = id;
 
 		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(() => {
 			previousMangaList = media;
 
 			const foundEntry = media.find((m) => m.id === id);
-- 
cgit v1.2.3

