Include missing manga data in updater subscription
E.g., the unread chapter count of a manga was not updated in case new chapters were found during the update.
Regression b673047517
This commit is contained in:
@@ -7,14 +7,21 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import gql from 'graphql-tag';
|
import gql from 'graphql-tag';
|
||||||
|
import { MANGA_CHAPTER_NODE_FIELDS, MANGA_CHAPTER_STAT_FIELDS } from '@/lib/graphql/fragments/MangaFragments.ts';
|
||||||
|
|
||||||
const UPDATER_MANGA_FIELDS = gql`
|
const UPDATER_MANGA_FIELDS = gql`
|
||||||
|
${MANGA_CHAPTER_STAT_FIELDS}
|
||||||
|
${MANGA_CHAPTER_NODE_FIELDS}
|
||||||
|
|
||||||
fragment UPDATER_MANGA_FIELDS on MangaUpdateType {
|
fragment UPDATER_MANGA_FIELDS on MangaUpdateType {
|
||||||
status
|
status
|
||||||
manga {
|
manga {
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
thumbnailUrl
|
thumbnailUrl
|
||||||
|
|
||||||
|
...MANGA_CHAPTER_STAT_FIELDS
|
||||||
|
...MANGA_CHAPTER_NODE_FIELDS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user