lib/peddler/request/parameters.rb in peddler-0.6.3 vs lib/peddler/request/parameters.rb in peddler-0.6.4
- old
+ new
@@ -21,10 +21,11 @@
def format_structured_lists!
lists = {}
each do |key, value|
if StructuredList.handle?(key)
- lists.update(StructuredList.new(key).build(delete(key)))
+ list = StructuredList.new(key).build(delete(key))
+ lists.update(list)
end
end
update(lists)
end