Skip to content

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

Update saleor/graphql/core/fields.py

Marcin Gębalaf797ef3647f8
diff --git a/saleor/graphql/core/fields.py b/saleor/graphql/core/fields.py
index 0c8b0ebbae..5d35188666 100644
--- a/saleor/graphql/core/fields.py
+++ b/saleor/graphql/core/fields.py
@@ -20,7 +20,7 @@ def patch_pagination_args(field: DjangoConnectionField):
By default Graphene's connection fields comes without description for pagination
arguments. This functions patches those fields to add the descriptions.
"""
- field.args["first"].description = "Returns the first n elements from the list."
+ field.args["first"].description = "Return the first n elements from the list."
field.args["last"].description = "Return the last n elements from the list."
field.args[
"before"