Skip to content

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

misleading Domain description fixed (#13854)

Nayeem Abdullahfb8928868b57
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index ec1563f8c3..642fdc449b 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -10134,7 +10134,7 @@ input CountryFilterInput {
attachedToShippingZones: Boolean
}
-"""Represents shop's domain."""
+"""Represents API domain."""
type Domain {
"""The host name of the domain."""
host: String!
@@ -10142,7 +10142,7 @@ type Domain {
"""Inform if SSL is enabled."""
sslEnabled: Boolean!
- """Shop's absolute URL."""
+ """The absolute URL of the API."""
url: String!
}
diff --git a/saleor/graphql/shop/types.py b/saleor/graphql/shop/types.py
index d995f500e1..a87e58bfd4 100644
--- a/saleor/graphql/shop/types.py
+++ b/saleor/graphql/shop/types.py
@@ -65,10 +65,10 @@ class Domain(graphene.ObjectType):
ssl_enabled = graphene.Boolean(
description="Inform if SSL is enabled.", required=True
)
- url = graphene.String(description="Shop's absolute URL.", required=True)
+ url = graphene.String(description="The absolute URL of the API.", required=True)
class Meta:
- description = "Represents shop's domain."
+ description = "Represents API domain."
class OrderSettings(ModelObjectType[site_models.SiteSettings]):