diff --git a/app/views/private_api/proteins/proteins.json.jbuilder b/app/views/private_api/proteins/proteins.json.jbuilder index dcbb2dc..927be00 100644 --- a/app/views/private_api/proteins/proteins.json.jbuilder +++ b/app/views/private_api/proteins/proteins.json.jbuilder @@ -12,8 +12,8 @@ json.lca @lca json.common_lineage @common_lineage json.proteins @proteins do |protein| - json.uniprotAccessionId protein.uniprot_accession_number - json.name protein.name - json.organism protein.taxon_id - json.test protein.test + json.uniprotAccessionId protein[:uniprot_accession_number] + json.name protein[:name] + json.organism protein[:organism] + json.test protein[:test] end