Skip to content

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

Update saleor/graphql/product/mutations/products.py

Iga Karbowiak37669e96cefc
diff --git a/saleor/graphql/product/mutations/products.py b/saleor/graphql/product/mutations/products.py
index e617ff0a6c..53dcbb636b 100644
--- a/saleor/graphql/product/mutations/products.py
+++ b/saleor/graphql/product/mutations/products.py
@@ -684,7 +684,7 @@ class AttributeAssignmentMixin:
- ensure all required attributes are passed
- ensure the values are correct for a product
"""
- errors = validate_attributes_input_for_product(cleaned_input,)
+ errors = validate_attributes_input_for_product(cleaned_input)
supplied_attribute_pk = [attribute.pk for attribute, _ in cleaned_input]