Use gql for "downloader"

This commit is contained in:
schroda
2023-10-27 20:23:03 +02:00
parent ca18e750bf
commit 222f8f5c9b
4 changed files with 89 additions and 25 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ const DownloadQueue: React.FC = () => {
await Promise.all([
// remove from download queue
requestManager.removeChapterFromDownloadQueue(chapter.mangaId, chapter.index).response,
requestManager.removeChapterFromDownloadQueue(chapter.id).response,
// delete partial download, should be handle server side?
// bug: The folder and the last image downloaded are not deleted
requestManager.deleteDownloadedChapter(chapter.id).response,