From 05f9e17d648a428ba58da8226e413cba94e1ab0e Mon Sep 17 00:00:00 2001 From: Jonasz Bigda Date: Fri, 30 Oct 2020 12:48:00 +0100 Subject: [PATCH] added "type" to search response --- routes/routeSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/routeSearch.js b/routes/routeSearch.js index 6559bfb..3eab1ba 100644 --- a/routes/routeSearch.js +++ b/routes/routeSearch.js @@ -21,7 +21,7 @@ router.get("/", async (req, res) => { { subscriptionActive: true }, ], }, - "_id name city imgUrl workingHours description tags location links" + "_id name city adress type imgUrl workingHours description tags location" ) .then((response) => { res.send(response);