Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove duplicated webhook call

Tomasz Szymanski34774bc0210b
diff --git a/saleor/graphql/product/mutations/products.py b/saleor/graphql/product/mutations/products.py
index a69d5c69ab..4e5a0de66c 100644
--- a/saleor/graphql/product/mutations/products.py
+++ b/saleor/graphql/product/mutations/products.py
@@ -1329,7 +1329,6 @@ class ProductVariantCreate(ModelMutation):
if not instance.product.default_variant:
instance.product.default_variant = instance
instance.product.save(update_fields=["default_variant", "updated_at"])
- info.context.plugins.product_updated(instance.product)
# Recalculate the "minimal variant price" for the parent product
update_product_minimal_variant_price_task.delay(instance.product_id)
stocks = cleaned_input.get("stocks")