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

@@ -91,7 +91,7 @@ const ChapterCard: React.FC<IProps> = (props: IProps) => {
};
const downloadChapter = () => {
requestManager.addChapterToDownloadQueue(chapter.mangaId, chapter.index);
requestManager.addChapterToDownloadQueue(chapter.id);
handleClose();
};