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