lib/todoist/misc/items.rb in todoist-ruby-0.1.1 vs lib/todoist/misc/items.rb in todoist-ruby-0.1.2

- old
+ new

@@ -44,10 +44,10 @@ params = {item_id: item.id, all_data: all_data} result = NetworkHelper.getResponse(Config::TODOIST_ITEMS_GET_COMMAND, params) item = ParseHelper.make_object(result["item"]) project = ParseHelper.make_object(result["project"]) - notes = result["notes"] ? ParseHelper.make_objects_as_array(result["notes"]) : nil + notes = result["notes"] ? ParseHelper.make_objects_as_hash(result["notes"]) : nil return {"item" => item, "project" => project, "notes" => notes} end end end