Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add entry to CHANGELOG
Michał Sipa3f9f2a5cab94
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c89113d7ff..276c824a73 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -93,6 +93,7 @@ All notable, unreleased changes to this project will be documented in this file.- Check if image exists before validating - #5425 by @kswiatek92- Fix warehouses query not working without id - #5441 by @koradon- Add accountErrors to CreateToken as a required field - #5437 by @koradon+- Fix missing accountError when JSONWebTokenError is raised in CreateToken - #5465 by @koradon## 2.9.0diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.pyindex 71711bfa02..4a1f187d4c 100644--- a/saleor/graphql/core/mutations.py+++ b/saleor/graphql/core/mutations.py@@ -17,8 +17,8 @@ from graphql_jwt import ObtainJSONWebToken, Verifyfrom graphql_jwt.exceptions import JSONWebTokenError, PermissionDeniedfrom ...account import models-from ..account.types import Userfrom ...account.error_codes import AccountErrorCode+from ..account.types import Userfrom ..utils import get_nodesfrom .types import Error, Uploadfrom .types.common import AccountErrordiff --git a/tests/api/test_core.py b/tests/api/test_core.pyindex 610b1a609a..dbd8e82825 100644--- a/tests/api/test_core.py+++ b/tests/api/test_core.py@@ -8,6 +8,7 @@ from django.utils import timezonefrom graphene import InputFieldfrom graphql_jwt.shortcuts import get_token+from saleor.account.error_codes import AccountErrorCodefrom saleor.graphql.core.enums import ReportingPeriodfrom saleor.graphql.core.filters import EnumFilterfrom saleor.graphql.core.mutations import BaseMutation@@ -24,7 +25,6 @@ from saleor.graphql.utils import (reporting_period_to_date,)from saleor.product.models import Category, Product-from saleor.account.error_codes import AccountErrorCodefrom tests.api.utils import _get_graphql_content_from_response, get_graphql_content