Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unused argument from function in order.utils
IKarbowiak80f5813f433b
diff --git a/saleor/order/utils.py b/saleor/order/utils.pyindex bc76dd9482..737442b2be 100644--- a/saleor/order/utils.py+++ b/saleor/order/utils.py@@ -324,7 +324,7 @@ def get_valid_shipping_methods_for_order(order: Order):)-def get_products_voucher_discount_for_order(order, voucher):+def get_products_voucher_discount_for_order(voucher):"""Calculate products discount value for a voucher, depending on its type."""prices = Noneif not prices: