app/controllers/spree/api/v2/storefront/checkout_controller.rb in spree_api-4.1.15 vs app/controllers/spree/api/v2/storefront/checkout_controller.rb in spree_api-4.2.0.beta
- old
+ new
@@ -123,10 +123,11 @@
end
def serialize_shipping_rates(shipments)
shipping_rates_serializer.new(
shipments,
- include: [:shipping_rates, :stock_location]
+ include: [:shipping_rates],
+ params: { show_rates: true }
).serializable_hash
end
end
end
end