Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Rename input class

oldPadavan0ae40655551b
diff --git a/saleor/graphql/product/mutations/products.py b/saleor/graphql/product/mutations/products.py
index dbc289e77f..055d7580ce 100644
--- a/saleor/graphql/product/mutations/products.py
+++ b/saleor/graphql/product/mutations/products.py
@@ -216,7 +216,7 @@ class AttributeValueInput(InputObjectType):
required=True, description='Value of an attribute.')
-class ProductPropertiesInput(graphene.InputObjectType):
+class ProductInput(graphene.InputObjectType):
attributes = graphene.List(
AttributeValueInput,
description='List of attributes.')
@@ -295,7 +295,7 @@ class ProductUpdate(ProductCreate):
class Arguments:
id = graphene.ID(
required=True, description='ID of a product to update.')
- input = ProductPropertiesInput(
+ input = ProductInput(
required=True, description='Fields required to update a product.')
class Meta: