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!]!
|
||||
$updateStocks: [StockInput!]!
|
||||
$weight: WeightScalar
|
||||
$visibleInListings: Boolean
|
||||
) {
|
||||
productUpdate(
|
||||
id: $id
|
||||
|
@ -216,6 +217,7 @@ export const simpleProductUpdateMutation = gql`
|
|||
basePrice: $basePrice
|
||||
seo: $seo
|
||||
weight: $weight
|
||||
visibleInListings: $visibleInListings
|
||||
}
|
||||
) {
|
||||
errors: productErrors {
|
||||
|
|
|
@ -830,4 +830,5 @@ export interface SimpleProductUpdateVariables {
|
|||
deleteStocks: string[];
|
||||
updateStocks: StockInput[];
|
||||
weight?: any | null;
|
||||
visibleInListings?: boolean | null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue