Skip to content

Commit

Permalink
adding GET search startswith ltonetwork#2
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezo committed Feb 18, 2014
1 parent 1ccc14f commit 7a2cdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/snomed.js
Expand Up @@ -182,7 +182,7 @@ app.get('/:db/:collection/concepts/:sctid/children?', function(req, res) {
});
});

app.get('/:db/:collection/concepts/descriptions?', function(req, res) {
app.get('/:db/:collection/descriptions?', function(req, res) {
if (!req.query["query"] || !req.query["searchmode"] || req.query["searchmode"] != "startswith") {
res.send(505);
} else {
Expand Down

0 comments on commit 7a2cdfc

Please sign in to comment.