Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix typos
IKarbowiak63e060ea634a
diff --git a/saleor/graphql/core/utils/__init__.py b/saleor/graphql/core/utils/__init__.pyindex 9c52253854..efb404ef9e 100644--- a/saleor/graphql/core/utils/__init__.py+++ b/saleor/graphql/core/utils/__init__.py@@ -76,7 +76,7 @@ def validate_slug_and_generate_if_needed(cleaned_input: dict,slug_field_name: str = "slug",) -> dict:- """Validate slug from input amd generate in create mutation if is not given."""+ """Validate slug from input and generate in create mutation if is not given."""# update mutation - just check if value is not emptyif getattr(instance, slug_field_name):validate_slug_value(cleaned_input)diff --git a/saleor/graphql/warehouse/types.py b/saleor/graphql/warehouse/types.pyindex a72357461b..976d728a01 100644--- a/saleor/graphql/warehouse/types.py+++ b/saleor/graphql/warehouse/types.py@@ -20,7 +20,7 @@ class WarehouseAddressInput(graphene.InputObjectType):class WarehouseInput(graphene.InputObjectType):- slug = graphene.String(description="Waregouse slug.")+ slug = graphene.String(description="Warehouse slug.")company_name = graphene.String(description="Company name.")shipping_zones = graphene.List(graphene.ID, description="Shipping zones supported by the warehouse."