Use gql for "downloader"

This commit is contained in:
schroda
2023-09-01 20:40:24 +02:00
parent ca18e750bf
commit 222f8f5c9b
4 changed files with 89 additions and 25 deletions

View File

@@ -146,7 +146,7 @@ const Updates: React.FC = () => {
};
const downloadChapter = (chapter: IChapter) => {
requestManager.addChapterToDownloadQueue(chapter.mangaId, chapter.index);
requestManager.addChapterToDownloadQueue(chapter.id);
};
const loadMore = useCallback(() => {