Email density #99
@@ -35,6 +35,9 @@ const findSearchRequestsForRealEstate = async realEstate => {
|
||||
floor
|
||||
} = realEstate;
|
||||
|
||||
//
|
||||
console.log("New realestate:", realEstate);
|
||||
|
||||
if (!locationLat || !locationLong) {
|
||||
return [];
|
||||
}
|
||||
@@ -451,6 +454,9 @@ const findSearchRequestsForRealEstate = async realEstate => {
|
||||
};
|
||||
}
|
||||
|
||||
//
|
||||
console.log("Query for search of req:", query);
|
||||
|
||||
return await db.SearchRequest.findAll({
|
||||
where: query
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user