Real estate input clean up.

This commit is contained in:
Naida Vatric
2020-03-09 23:30:37 +01:00
parent 96bc66ef7b
commit 5f674230e1
10 changed files with 182 additions and 186 deletions

View File

@@ -243,6 +243,9 @@ const postPublishInputs = async (req, res) => {
//Contact email saved in other table
const contactEmail = req.body.email || "";
const imageUrlsArray = req.body.imageUrls || [];
console.log(imageUrlsArray);
realEstate.balcony = balcony;
realEstate.elevator = elevator;
realEstate.newBuilding = newBuilding;