Skip to content

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

Update saleor/graphql/shop/types.py

Filip Owczarek11b3bf83b03b
diff --git a/saleor/graphql/account/mutations/base.py b/saleor/graphql/account/mutations/base.py
index f33d17a13f..17a1e2740b 100644
--- a/saleor/graphql/account/mutations/base.py
+++ b/saleor/graphql/account/mutations/base.py
@@ -346,8 +346,8 @@ class BaseCustomerCreate(ModelMutation, I18nMixin):
)
cleaned_input[BILLING_ADDRESS_FIELD] = billing_address
- # DEPRECATED: We shoud remove this confition whe drop `send_password_email`
- # from mutation imput.
+ # DEPRECATED: We should remove this condition when dropping
+ # `send_password_email` from mutation input.
if cleaned_input.get("send_password_email"):
if not cleaned_input.get("redirect_url"):
raise ValidationError(
diff --git a/saleor/graphql/account/mutations/staff.py b/saleor/graphql/account/mutations/staff.py
index 1b9e624b57..a8908641fa 100644
--- a/saleor/graphql/account/mutations/staff.py
+++ b/saleor/graphql/account/mutations/staff.py
@@ -176,8 +176,8 @@ class StaffCreate(ModelMutation):
def clean_input(cls, info, instance, data):
cleaned_input = super().clean_input(info, instance, data)
- # DEPRECATED: We shoud remove this confition whe drop `send_password_email`
- # from mutation imput.
+ # DEPRECATED: We should remove this condition when dropping
+ # `send_password_email` from mutation input.
if cleaned_input.get("send_password_email"):
if not cleaned_input.get("redirect_url"):
raise ValidationError(
diff --git a/saleor/graphql/shop/types.py b/saleor/graphql/shop/types.py
index 1ea4a92a83..e2b5876137 100644
--- a/saleor/graphql/shop/types.py
+++ b/saleor/graphql/shop/types.py
@@ -150,7 +150,7 @@ class Shop(graphene.ObjectType):
Address, description="Company address.", required=False
)
customer_set_password_url = graphene.String(
- description="storefront url address in which the client sets the password.",
+ description="URL of a view where customers can set their password.",
required=False,
)