get routes changed to query string

This commit is contained in:
2020-07-24 20:27:41 +02:00
parent d2a29416fe
commit d2ab242fed
4 changed files with 64 additions and 35 deletions

View File

@@ -20,7 +20,7 @@ router.get("/", (req, res) => {
{ hidden: false },
],
},
"_id name city imgUrl workingHours",
"_id name city imgUrl workingHours description tags phone hidden",
(err, results) => {
if (err) {
res.sendStatus(500);