Add scrape gallery from fragment to UI (#1166)

This commit is contained in:
gitgiggety
2021-03-10 03:47:22 +01:00
committed by GitHub
parent a0676d5c30
commit f794c6ae45
3 changed files with 86 additions and 3 deletions

View File

@@ -776,13 +776,13 @@ export const queryStashBoxScene = (stashBoxIndex: number, sceneID: string) =>
export const queryScrapeGallery = (
scraperId: string,
scene: GQL.GalleryUpdateInput
gallery: GQL.GalleryUpdateInput
) =>
client.query<GQL.ScrapeGalleryQuery>({
query: GQL.ScrapeGalleryDocument,
variables: {
scraper_id: scraperId,
scene,
gallery,
},
fetchPolicy: "network-only",
});