Notification service #35

Merged
bilal.catic merged 26 commits from notification-service into master 2019-09-30 16:23:40 +02:00
Showing only changes of commit 54f7e4ba53 - Show all commits

View File

@@ -36,6 +36,11 @@ const bulkUpsertRealEstates = async realEstateData => {
}
};
module.exports = {
bulkUpsertRealEstates
const getRealEstateById = async id => {
return db.RealEstate.findByPk(id);
};
module.exports = {
bulkUpsertRealEstates,
getRealEstateById
};