Skip to content

Commit

Permalink
allow null language
Browse files Browse the repository at this point in the history
  • Loading branch information
FlexibleAnonymizationTool committed Oct 13, 2016
1 parent 5bf2109 commit 75668f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/solr/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = {
// rootDoc.deck = slideDbObj.deck;
rootDoc.timestamp = slideDbObj.timestamp;
rootDoc.lastUpdate = slideDbObj.lastUpdate;
rootDoc.language = slideDbObj.language.toLowerCase();
rootDoc.language = slideDbObj.language;
rootDoc.license = slideDbObj.license;
solrClient.addDocs(rootDoc).then( (result) => solrClient.commit() );
});
Expand Down

0 comments on commit 75668f6

Please sign in to comment.