Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge branch 'main' into SALEOR-6404_webhooks_in_manifest
Tomasz Magulski26adc5f8029b
diff --cc saleor/graphql/webhook/subscription_payload.pyindex 13240ad0d1,2475284d89..6202338b6b--- a/saleor/graphql/webhook/subscription_payload.py+++ b/saleor/graphql/webhook/subscription_payload.py@@@ -1,9 -1,10 +1,11 @@@from typing import Any, Dict, Optionalfrom celery.utils.log import get_task_logger+from django.core.exceptions import ValidationErrorfrom django.conf import settings+ from django.contrib.sites.models import Sitefrom django.http import HttpRequest+ from django.utils import timezonefrom django.utils.functional import SimpleLazyObjectfrom graphql import GraphQLDocument, get_default_backend, parsefrom graphql.error import GraphQLSyntaxError@@@ -11,7 -12,8 +13,9 @@@ from graphql.language.ast import Fragmefrom promise import Promisefrom ...app.models import App+from ...webhook.error_codes import WebhookErrorCode+ from ...discount.utils import fetch_discounts+ from ...plugins.manager import PluginsManagerfrom ...settings import get_hostlogger = get_task_logger(__name__)