Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Improve docstring for GraphQL refreshToken mutation (#12613)
Mikail39ef77fc9bcb
diff --git a/saleor/graphql/account/mutations/authentication.py b/saleor/graphql/account/mutations/authentication.pyindex 67214cea3b..62b405c36f 100644--- a/saleor/graphql/account/mutations/authentication.py+++ b/saleor/graphql/account/mutations/authentication.py@@ -195,16 +195,16 @@ class RefreshToken(BaseMutation):required=False,description=("CSRF token required to refresh token. This argument is "- "required when refreshToken is provided as a cookie."+ "required when `refreshToken` is provided as a cookie."),)class Meta:description = (- "Refresh JWT token. Mutation tries to take refreshToken from the input."- "If it fails it will try to take refreshToken from the http-only cookie -"- f"{JWT_REFRESH_TOKEN_COOKIE_NAME}. csrfToken is required when refreshToken "- "is provided as a cookie."+ "Refresh JWT token. Mutation tries to take refreshToken from the input. "+ "If it fails it will try to take `refreshToken` from the http-only cookie "+ f"`{JWT_REFRESH_TOKEN_COOKIE_NAME}`. "+ "`csrfToken` is required when `refreshToken` is provided as a cookie.")doc_category = DOC_CATEGORY_AUTHerror_type_class = AccountErrordiff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex e780da5fa5..19cc892f2e 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -16350,11 +16350,11 @@ type Mutation {): CreateToken @doc(category: "Authentication")"""- Refresh JWT token. Mutation tries to take refreshToken from the input.If it fails it will try to take refreshToken from the http-only cookie -refreshToken. csrfToken is required when refreshToken is provided as a cookie.+ Refresh JWT token. Mutation tries to take refreshToken from the input. If it fails it will try to take `refreshToken` from the http-only cookie `refreshToken`. `csrfToken` is required when `refreshToken` is provided as a cookie."""tokenRefresh("""- CSRF token required to refresh token. This argument is required when refreshToken is provided as a cookie.+ CSRF token required to refresh token. This argument is required when `refreshToken` is provided as a cookie."""csrfToken: String@@ -24958,7 +24958,7 @@ enum AccountErrorCode @doc(category: "Users") {}"""-Refresh JWT token. Mutation tries to take refreshToken from the input.If it fails it will try to take refreshToken from the http-only cookie -refreshToken. csrfToken is required when refreshToken is provided as a cookie.+Refresh JWT token. Mutation tries to take refreshToken from the input. If it fails it will try to take `refreshToken` from the http-only cookie `refreshToken`. `csrfToken` is required when `refreshToken` is provided as a cookie."""type RefreshToken @doc(category: "Authentication") {"""JWT token, required to authenticate."""