Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix one blank error code
Aleksander Spyrad16f0b52039c
diff --git a/saleor/graphql/product/mutations/attributes.py b/saleor/graphql/product/mutations/attributes.pyindex e72d2c539b..8aebd13d9d 100644--- a/saleor/graphql/product/mutations/attributes.py+++ b/saleor/graphql/product/mutations/attributes.py@@ -169,7 +169,8 @@ class AttributeMixin:raise ValidationError({"slug": ValidationError(- "The attribute's slug cannot be blank.", code="blank"+ "The attribute's slug cannot be blank.",+ code=ProductErrorCode.REQUIRED,)})