Files
old-web/test/searchTest.js

12 lines
330 B
JavaScript
Raw Normal View History

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