From da678d856a43b82cc305896e1f317cadc0c69473 Mon Sep 17 00:00:00 2001 From: Dawid Tarasiuk Date: Mon, 5 Jul 2021 11:59:08 +0200 Subject: [PATCH] Fix missing call for update metadata mutation (#1207) * Fix missing call for update metadata mutation * Update changelog --- CHANGELOG.md | 1 + src/products/mutations.ts | 1 + src/products/types/ProductVariantChannelListingUpdate.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e55a790b1..427e4c3cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,7 @@ All notable, unreleased changes to this project will be documented in this file. - Add generic filter validation - #1187 by @jwm0 - Fix duplicated labels in column picker - #1197 by @orzechdev - Fix forbidden null sending as attribute value - #1201 by @orzechdev +- Fix missing call for update metadata mutation - #1207 by @orzechdev # 2.11.1 diff --git a/src/products/mutations.ts b/src/products/mutations.ts index 5a48fe5be..5b137e58b 100644 --- a/src/products/mutations.ts +++ b/src/products/mutations.ts @@ -669,6 +669,7 @@ export const ProductVariantChannelListingUpdateMutation = gql` ...ChannelListingProductVariantFragment } product { + id channelListings { ...ChannelListingProductFragment } diff --git a/src/products/types/ProductVariantChannelListingUpdate.ts b/src/products/types/ProductVariantChannelListingUpdate.ts index 90c912fb8..6343a3c2f 100644 --- a/src/products/types/ProductVariantChannelListingUpdate.ts +++ b/src/products/types/ProductVariantChannelListingUpdate.ts @@ -88,6 +88,7 @@ export interface ProductVariantChannelListingUpdate_productVariantChannelListing export interface ProductVariantChannelListingUpdate_productVariantChannelListingUpdate_variant_product { __typename: "Product"; + id: string; channelListings: ProductVariantChannelListingUpdate_productVariantChannelListingUpdate_variant_product_channelListings[] | null; }