Skip to content

Commit

Permalink
saleor#14475: Improve description for customers query | changes in sc…
Browse files Browse the repository at this point in the history
…hema.py and schema.graphql
  • Loading branch information
Quazirafi1 committed May 23, 2024
1 parent d0ab3ca commit 07c3866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion saleor/graphql/account/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class AccountQueries(graphene.ObjectType):
UserCountableConnection,
filter=CustomerFilterInput(description="Filtering options for customers."),
sort_by=UserSortingInput(description="Sort customers."),
description="List of the shop's customers.",
description="List of the shop's customers. This list includes all users who registered through the accountRegister mutation. Additionally, staff users who have placed an order using their account will also appear in this list.",
permissions=[OrderPermissions.MANAGE_ORDERS, AccountPermissions.MANAGE_USERS],
doc_category=DOC_CATEGORY_USERS,
)
Expand Down
2 changes: 1 addition & 1 deletion saleor/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ type Query {
): Address @doc(category: "Users")

"""
List of the shop's customers.
List of the shop's customers. This list includes all users who registered through the accountRegister mutation. Additionally, staff users who have placed an order using their account will also appear in this list.

Requires one of the following permissions: MANAGE_ORDERS, MANAGE_USERS.
"""
Expand Down

0 comments on commit 07c3866

Please sign in to comment.