Skip to content

Commit

Permalink
Removed a conditional console.log statement that was written for temp…
Browse files Browse the repository at this point in the history
…orary testing
  • Loading branch information
metincansiper committed Jan 15, 2021
1 parent c22e74a commit c4a910c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/routes/api/document/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1602,9 +1602,7 @@ http.post('/', function( req, res, next ){
if ( xref == null || xref.org == null ) {
return false;
}
if ( Organism.fromId( Number( xref.org ) ) == Organism.OTHER ) {
console.log( 'invalid org: ', xref.org );
}

return Organism.fromId( Number( xref.org ) ) != Organism.OTHER;
};
elements.forEach( el => {
Expand Down

0 comments on commit c4a910c

Please sign in to comment.