Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
isort
Tomasz Magulski94bccf1e4076
diff --git a/saleor/graphql/webhook/subscription_payload.py b/saleor/graphql/webhook/subscription_payload.pyindex c9483b2596..8bfa8b6460 100644--- a/saleor/graphql/webhook/subscription_payload.py+++ b/saleor/graphql/webhook/subscription_payload.py@@ -1,9 +1,9 @@from typing import Any, Dict, Optionalfrom celery.utils.log import get_task_logger-from django.core.exceptions import ValidationErrorfrom django.conf import settingsfrom django.contrib.sites.models import Site+from django.core.exceptions import ValidationErrorfrom django.http import HttpRequestfrom django.utils import timezonefrom django.utils.functional import SimpleLazyObject@@ -13,11 +13,11 @@ from graphql.language.ast import FragmentDefinition, OperationDefinitionfrom promise import Promisefrom ...app.models import App-from ...webhook.error_codes import WebhookErrorCodefrom ...core.exceptions import PermissionDeniedfrom ...discount.utils import fetch_discountsfrom ...plugins.manager import PluginsManagerfrom ...settings import get_host+from ...webhook.error_codes import WebhookErrorCodefrom ..utils import format_errorlogger = get_task_logger(__name__)