app/views/spree/api/stock_locations/index.json.jbuilder in solidus_api-4.3.4 vs app/views/spree/api/stock_locations/index.json.jbuilder in solidus_api-4.4.0
- old
+ new
@@ -1,6 +1,6 @@
# frozen_string_literal: true
json.stock_locations(@stock_locations) do |stock_location|
- json.partial!("spree/api/stock_locations/stock_location", stock_location: stock_location)
+ json.partial!("spree/api/stock_locations/stock_location", stock_location:)
end
json.partial! 'spree/api/shared/pagination', pagination: @stock_locations