2019-09-29 19:28:47 +02:00
|
|
|
const { getRealEstateById } = require("../app/helpers/db/realEstate");
|
|
|
|
|
const {
|
2019-09-30 10:31:50 +02:00
|
|
|
notifyForNewRealEstates
|
|
|
|
|
} = require("../app/services/notificationService");
|
2019-09-29 19:28:47 +02:00
|
|
|
|
|
|
|
|
(async () => {
|
2019-10-11 23:07:45 +02:00
|
|
|
const realEstate1 = await getRealEstateById(83985);
|
|
|
|
|
const realEstate2 = await getRealEstateById(83984);
|
2019-09-29 19:28:47 +02:00
|
|
|
|
2019-10-11 23:07:45 +02:00
|
|
|
notifyForNewRealEstates([realEstate1]);
|
2019-09-29 19:28:47 +02:00
|
|
|
})();
|