app/helpers/spree/api/api_helpers.rb in spree_api-2.0.9 vs app/helpers/spree/api/api_helpers.rb in spree_api-2.0.10
- old
+ new
@@ -30,10 +30,10 @@
def option_value_attributes
[:id, :name, :presentation, :option_type_name, :option_type_id, :option_type_presentation]
end
def order_attributes
- [:id, :number, :item_total, :total, :ship_total, :state, :adjustment_total, :user_id, :created_at, :updated_at, :completed_at, :payment_total, :shipment_state, :payment_state, :email, :special_instructions, :token, :channel]
+ [:id, :number, :item_total, :total, :ship_total, :state, :adjustment_total, :user_id, :created_at, :updated_at, :completed_at, :payment_total, :shipment_state, :payment_state, :email, :special_instructions, :token, :channel, :currency]
end
def line_item_attributes
[:id, :quantity, :price, :variant_id]
end