Pass missing isVisibleListing variable to mutation (#712)
* Pass missing arguments * Update types
This commit is contained in:
parent
2600767431
commit
24ea28f987
2 changed files with 3 additions and 0 deletions
|
@ -201,6 +201,7 @@ export const simpleProductUpdateMutation = gql`
|
||||||
$deleteStocks: [ID!]!
|
$deleteStocks: [ID!]!
|
||||||
$updateStocks: [StockInput!]!
|
$updateStocks: [StockInput!]!
|
||||||
$weight: WeightScalar
|
$weight: WeightScalar
|
||||||
|
$visibleInListings: Boolean
|
||||||
) {
|
) {
|
||||||
productUpdate(
|
productUpdate(
|
||||||
id: $id
|
id: $id
|
||||||
|
@ -216,6 +217,7 @@ export const simpleProductUpdateMutation = gql`
|
||||||
basePrice: $basePrice
|
basePrice: $basePrice
|
||||||
seo: $seo
|
seo: $seo
|
||||||
weight: $weight
|
weight: $weight
|
||||||
|
visibleInListings: $visibleInListings
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
errors: productErrors {
|
errors: productErrors {
|
||||||
|
|
|
@ -830,4 +830,5 @@ export interface SimpleProductUpdateVariables {
|
||||||
deleteStocks: string[];
|
deleteStocks: string[];
|
||||||
updateStocks: StockInput[];
|
updateStocks: StockInput[];
|
||||||
weight?: any | null;
|
weight?: any | null;
|
||||||
|
visibleInListings?: boolean | null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue