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
This commit is contained in:
@@ -81,7 +81,7 @@ const ChapterCard: React.FC<IProps> = (props: IProps) => {
|
|||||||
|
|
||||||
const deleteChapter = () => {
|
const deleteChapter = () => {
|
||||||
requestManager
|
requestManager
|
||||||
.removeChapterFromDownloadQueue(chapter.mangaId, chapter.index)
|
.deleteDownloadedChapter(chapter.mangaId, chapter.index)
|
||||||
.response.then(() => triggerChaptersUpdate());
|
.response.then(() => triggerChaptersUpdate());
|
||||||
handleClose();
|
handleClose();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user