Changed dropzone - url WiP.
This commit is contained in:
@@ -182,6 +182,9 @@ const postPublishInputs = async (req, res) => {
|
||||
|
||||
const nextStepPage = req.query.nextStep || "/uspjesnaobjava";
|
||||
|
||||
//Request body
|
||||
console.log("Body:", req.body);
|
||||
|
||||
const balcony = req.body.balcony === "on";
|
||||
const elevator = req.body.elevator === "on";
|
||||
const newBuilding = req.body.newBuilding === "on";
|
||||
@@ -243,6 +246,9 @@ const postPublishInputs = async (req, res) => {
|
||||
//Contact email saved in other table
|
||||
const contactEmail = req.body.email || "";
|
||||
|
||||
const imageUrls = req.body.imageUrls.split("|") || [];
|
||||
console.log(imageUrls);
|
||||
|
||||
realEstate.balcony = balcony;
|
||||
realEstate.elevator = elevator;
|
||||
realEstate.newBuilding = newBuilding;
|
||||
|
||||
Reference in New Issue
Block a user