Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Styling changes
Tomasz Szymański7ae1cba3bb6d
diff --git a/saleor/graphql/account/mutations/account.py b/saleor/graphql/account/mutations/account.pyindex fe900ca955..3c622dcd12 100644--- a/saleor/graphql/account/mutations/account.py+++ b/saleor/graphql/account/mutations/account.py@@ -30,7 +30,8 @@ class AccountRegisterInput(graphene.InputObjectType):email = graphene.String(description="The email address of the user.", required=True)password = graphene.String(description="Password.", required=True)redirect_origin = graphene.String(- description="Base of frontend URL that will be needed to create confirmation URL.",+ description="Base of frontend URL that will be "+ "needed to create confirmation URL.",required=True,)diff --git a/tests/api/test_account.py b/tests/api/test_account.pyindex acfe84da63..39cfe10ed2 100644--- a/tests/api/test_account.py+++ b/tests/api/test_account.py@@ -565,8 +565,18 @@ def test_user_with_cancelled_fulfillments(ACCOUNT_REGISTER_MUTATION = """- mutation RegisterAccount($password: String!, $email: String!, $redirectOrigin: String!) {- accountRegister(input: {password: $password, email: $email, redirectOrigin: $redirectOrigin}) {+ mutation RegisterAccount(+ $password: String!,+ $email: String!,+ $redirectOrigin: String!+ ) {+ accountRegister(+ input: {+ password: $password,+ email: $email,+ redirectOrigin: $redirectOrigin+ }+ ) {errors {fieldmessage