Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Cast shipping_method_id to int (#9364)
l3str4nge58d8657ddb0c
diff --git a/saleor/graphql/order/types.py b/saleor/graphql/order/types.pyindex ee6b71867d..4d5c531462 100644--- a/saleor/graphql/order/types.py+++ b/saleor/graphql/order/types.py@@ -1108,7 +1108,7 @@ class Order(ModelObjectType):return listing.then(calculate_price)shipping_method = ShippingMethodByIdLoader(info.context).load(- root.shipping_method_id+ int(root.shipping_method_id))channel = ChannelByIdLoader(info.context).load(root.channel_id)