@@ -197,11 +197,17 @@ export class Mangas {
|
|||||||
const { data } = await requestManager.getChapters<
|
const { data } = await requestManager.getChapters<
|
||||||
GetMangasChapterIdsWithStateQuery,
|
GetMangasChapterIdsWithStateQuery,
|
||||||
GetMangasChapterIdsWithStateQueryVariables
|
GetMangasChapterIdsWithStateQueryVariables
|
||||||
>(GET_MANGAS_CHAPTER_IDS_WITH_STATE, {
|
>(
|
||||||
filter: { mangaId: { in: mangaIds }, scanlator: { notIncludesInsensitiveAny: excludedScanlators } },
|
GET_MANGAS_CHAPTER_IDS_WITH_STATE,
|
||||||
condition: { ...state },
|
{
|
||||||
order: [{ by: ChapterOrderBy.SourceOrder }],
|
filter: { mangaId: { in: mangaIds }, scanlator: { notIncludesInsensitiveAny: excludedScanlators } },
|
||||||
}).response;
|
condition: { ...state },
|
||||||
|
order: [{ by: ChapterOrderBy.SourceOrder }],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
fetchPolicy: 'network-only',
|
||||||
|
},
|
||||||
|
).response;
|
||||||
|
|
||||||
return data?.chapters.nodes ?? [];
|
return data?.chapters.nodes ?? [];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user