File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const linkBuilder= (source,geneQuery)=>{
3131const pcFallback = ( unrecognized , genes ) => {
3232 return unrecognized . map ( entry => {
3333 if ( ! genes [ entry ] ) {
34- return ServerAPI . pcQuery ( 'search' , { q :entry , entry :'entityreference' } ) . then ( ( search ) => {
34+ return ServerAPI . pcQuery ( 'search' , { q :entry , type :'entityreference' } ) . then ( ( search ) => {
3535 const ids = _ . compact ( search . searchHit . map ( hit => {
3636 hit = _ . reverse ( hit . uri . split ( '/' ) ) ;
3737 return hit [ 1 ] === 'uniprot' ? hit [ 0 ] : false ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const ServerAPI = {
3131 geneQuery ( query ) {
3232 query . genes = _ . concat ( [ 'padding' ] , query . genes . split ( ' ' ) ) ;
3333 return fetch ( '/api/validation' , {
34- method :'POST' ,
34+ method :'POST' ,
3535 headers : {
3636 'Accept' : 'application/json' ,
3737 'Content-Type' : 'application/x-www-form-urlencoded'
You can’t perform that action at this time.
0 commit comments