Demo: out comment route validator only-login

This commit is contained in:
2019-07-24 16:28:20 +02:00
parent dda5e89990
commit 31ba4a0b8b
2 changed files with 1 additions and 15 deletions
-14
View File
@@ -386,18 +386,4 @@ const dbs = {
models: model,
};
/*
app.get ("/api/msg/search/:phrase", function (req, res) {
Message.find ({$text: {$search: req.params.phrase}) .then (function (err, results){
if (err) {
console.log (err);
res .status(404) .json (err);
} else {
console.log(JSON.stringify(results));
res.json(results);
}
});
});
*/
module.exports = dbs;