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-09-30 10:31:50 +02:00
|
|
|
const realEstate1 = await getRealEstateById(53069); //B.Luka, 149.000 KM, 67m2
|
|
|
|
|
const realEstate2 = await getRealEstateById(53180); //B.Luka, 70.000 KM, 24m2
|
2019-09-29 19:28:47 +02:00
|
|
|
|
2019-09-30 10:31:50 +02:00
|
|
|
const realEstate3 = await getRealEstateById(53067); //Grbavica, 109.500 KM, 51m2
|
|
|
|
|
const realEstate4 = await getRealEstateById(53077); //alipašino, 66.000 KM, 32.58 m2
|
|
|
|
|
|
|
|
|
|
const realEstate5 = await getRealEstateById(53080); //Tuzla, - KM, 47,1 m2
|
|
|
|
|
const realEstate6 = await getRealEstateById(53646); //Tuzla, 73.500 KM, 53m2
|
|
|
|
|
|
|
|
|
|
notifyForNewRealEstates([
|
|
|
|
|
realEstate1,
|
|
|
|
|
realEstate2,
|
|
|
|
|
realEstate3,
|
|
|
|
|
realEstate4,
|
|
|
|
|
realEstate5,
|
|
|
|
|
realEstate6
|
|
|
|
|
]);
|
2019-09-29 19:28:47 +02:00
|
|
|
})();
|