added "type" to search response

This commit is contained in:
2020-10-30 12:48:00 +01:00
parent d44a395bf5
commit 05f9e17d64

View File

@@ -21,7 +21,7 @@ router.get("/", async (req, res) => {
{ subscriptionActive: true }, { subscriptionActive: true },
], ],
}, },
"_id name city imgUrl workingHours description tags location links" "_id name city adress type imgUrl workingHours description tags location"
) )
.then((response) => { .then((response) => {
res.send(response); res.send(response);