server v1.0.1

This commit is contained in:
2020-09-17 19:00:30 +02:00
parent 27552e5eb0
commit fa0b7e6503
3 changed files with 11 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ router.get("/", (req, res) => {
{
$and: [
{ $or: [{ city: { $regex: regex } }, { name: { $regex: regex } }] },
{ hidden: false },
{ $or: [{ hidden: false }, { hidden: { $exists: false } }] },
{ subscriptionActive: true },
],
},