[Codegen] Request manga download count with chapter deletion mutation (#516)

After deleting a chapter, the download count of the chapters manga did not update, because the information was not requested with the mutation
This commit is contained in:
schroda
2023-12-25 21:15:41 +01:00
committed by GitHub
parent 168e8f82f6
commit 2390361fb2
2 changed files with 10 additions and 2 deletions

View File

@@ -28,6 +28,10 @@ export const DELETE_DOWNLOADED_CHAPTER = gql`
chapters {
id
isDownloaded
manga {
id
downloadCount
}
}
}
}
@@ -40,6 +44,10 @@ export const DELETE_DOWNLOADED_CHAPTERS = gql`
chapters {
id
isDownloaded
manga {
id
downloadCount
}
}
}
}