Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove billing address from CheckoutShippingUpdate
Pacu2156e13fa1ce5
diff --git a/saleor/graphql/checkout/mutations.py b/saleor/graphql/checkout/mutations.pyindex 890b822433..1da8cb7e91 100644--- a/saleor/graphql/checkout/mutations.py+++ b/saleor/graphql/checkout/mutations.py@@ -286,14 +286,12 @@ class CheckoutShippingAddressUpdate(BaseMutation):@classmethoddef mutate(- cls, root, info, checkout_id, shipping_address, billing_adddress):+ cls, root, info, checkout_id, shipping_address):errors = []checkout = cls.get_node_or_error(info, checkout_id, errors, 'checkout_id', only_type=Checkout)if shipping_address:shipping_address = cls.clean_address(shipping_address, errors)- if billing_adddress:- billing_adddress = cls.clean_address(shipping_address, errors)if errors:return CheckoutShippingAddressUpdate(errors=errors)