Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use enum instead od enum.value
Krzysztof Świątekb8b22f67ad8c
diff --git a/saleor/graphql/product/mutations/attributes.py b/saleor/graphql/product/mutations/attributes.pyindex cd56c73ebd..9bed71c771 100644--- a/saleor/graphql/product/mutations/attributes.py+++ b/saleor/graphql/product/mutations/attributes.py@@ -412,7 +412,7 @@ class AttributeAssign(BaseMutation):{"operations": ValidationError(f"Attribute doesn't exist.",- code=ProductErrorCode.NOT_FOUND.value,+ code=ProductErrorCode.NOT_FOUND,params={"attributes": list(invalid_attrs)},)}