lib/yoti/protobuf/main.rb in yoti-1.6.3 vs lib/yoti/protobuf/main.rb in yoti-1.6.4
- old
+ new
@@ -92,10 +92,10 @@
def convert_multi_value(value)
proto_multi_value = Yoti::Protobuf::Attrpubapi::MultiValue.decode(value)
items = []
proto_multi_value.values.each do |item|
- items.append value_based_on_content_type(item.data, item.content_type)
+ items << value_based_on_content_type(item.data, item.content_type)
end
MultiValue.new(items)
end
def valid_receipt?(receipt)