diff --git a/app/controllers/api/api_controller.rb b/app/controllers/api/api_controller.rb index e49abf6..ecf89e2 100644 --- a/app/controllers/api/api_controller.rb +++ b/app/controllers/api/api_controller.rb @@ -87,7 +87,7 @@ def pept2taxa all_taxa = Set.new response_data["result"].each do |item| - all_taxa.merge(item.taxa) + all_taxa.merge(item["taxa"]) end # Now, retrieve all information associated with the taxa