From 00e403ce09f1514db6064732571cab596e154c43 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 5 Jun 2023 01:23:40 +0200 Subject: [PATCH] Use correct endpoint for deleting downloaded chapter (#351) Instead of deleting the downloaded chapter, a request was made to remove the download from the download queue --- src/components/manga/ChapterCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/manga/ChapterCard.tsx b/src/components/manga/ChapterCard.tsx index daefb56f..35f4c5f9 100644 --- a/src/components/manga/ChapterCard.tsx +++ b/src/components/manga/ChapterCard.tsx @@ -81,7 +81,7 @@ const ChapterCard: React.FC = (props: IProps) => { const deleteChapter = () => { requestManager - .removeChapterFromDownloadQueue(chapter.mangaId, chapter.index) + .deleteDownloadedChapter(chapter.mangaId, chapter.index) .response.then(() => triggerChaptersUpdate()); handleClose(); };