Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix PromotionRuleUpdateInput.add_channels description. (#14851)
Piotr Zabieglik117f4f8fac5e
diff --git a/saleor/graphql/discount/mutations/promotion/promotion_rule_update.py b/saleor/graphql/discount/mutations/promotion/promotion_rule_update.pyindex ea424b6259..88e96f9461 100644--- a/saleor/graphql/discount/mutations/promotion/promotion_rule_update.py+++ b/saleor/graphql/discount/mutations/promotion/promotion_rule_update.py@@ -39,7 +39,7 @@ class PromotionRuleUpdateError(Error):class PromotionRuleUpdateInput(PromotionRuleBaseInput):add_channels = NonNullList(graphene.ID,- description="List of channel ids to remove.",+ description="List of channel ids to add.",)remove_channels = NonNullList(graphene.ID,diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex f18fa631f6..8033bf3a1d 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -27610,7 +27610,7 @@ input PromotionRuleUpdateInput {"""rewardValue: PositiveDecimal- """List of channel ids to remove."""+ """List of channel ids to add."""addChannels: [ID!]"""List of channel ids to remove."""