Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add DiscountErrorCode to SALEOR_ERROR_CODE_ENUMS
IKarbowiak8019de86fbb2
diff --git a/saleor/graphql/core/utils/error_codes.py b/saleor/graphql/core/utils/error_codes.pyindex ec590d64a0..b8474d8a37 100644--- a/saleor/graphql/core/utils/error_codes.py+++ b/saleor/graphql/core/utils/error_codes.py@@ -3,6 +3,7 @@ from enum import Enumfrom ....account.error_codes import AccountErrorCodefrom ....checkout.error_codes import CheckoutErrorCodefrom ....core.error_codes import ShopErrorCode+from ....discount.error_codes import DiscountErrorCodefrom ....extensions.error_codes import ExtensionsErrorCodefrom ....giftcard.error_codes import GiftCardErrorCodefrom ....menu.error_codes import MenuErrorCode@@ -42,6 +43,7 @@ DJANGO_FORM_FIELDS_ERROR_CODES = [SALEOR_ERROR_CODE_ENUMS = [AccountErrorCode,CheckoutErrorCode,+ DiscountErrorCode,ExtensionsErrorCode,GiftCardErrorCode,MenuErrorCode,