lib/amee/profile_item.rb in Floppy-amee-2.0.17 vs lib/amee/profile_item.rb in Floppy-amee-2.0.18
- old
+ new
@@ -297,10 +297,10 @@
end
# Post to category
response = connection.raw_post(category_path, post_data).body
# Send back a category object containing all the created items
unless response.empty?
- return AMEE::Profile::Category.parse(connection, response)
+ return AMEE::Profile::Category.parse_batch(connection, response)
else
return true
end
end