Tested both ways for realestate and search req filters.
This commit is contained in:
@@ -12,8 +12,6 @@ const { findNotNotifiedMatches } = require("../helpers/db/searchRequestMatch");
|
||||
const { sendEmail } = require("../services/emailService");
|
||||
|
||||
const notifyForNewRealEstates = async newRealEstates => {
|
||||
//
|
||||
console.log("Real estates", newRealEstates);
|
||||
const matches = await matchRealEstates(newRealEstates);
|
||||
await notifyMatches(matches);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user