WiP Started input form.
This commit is contained in:
@@ -53,10 +53,8 @@ const postPublishTypes = async (req, res) => {
|
||||
res.render("notFound", { title: " " });
|
||||
return;
|
||||
}
|
||||
// Sta je nextStepPage - treba napraviti !!!!
|
||||
/////
|
||||
/////
|
||||
const nextStepPage = req.query.nextStep || "/lokacija";
|
||||
|
||||
const nextStepPage = req.query.nextStep || "podacionekretnini";
|
||||
|
||||
let nextStepUrl = "";
|
||||
if (realEstate && realEstate.id) {
|
||||
@@ -79,7 +77,7 @@ const postPublishTypes = async (req, res) => {
|
||||
agencyObjectId: newKiviOriginal.kiviAdId
|
||||
});
|
||||
|
||||
//Da li ovaj id ili kivioriginal id
|
||||
//Da li ovaj id ili kivioriginal id ???
|
||||
nextStepUrl = `/${nextStepPage}/${newRealEstate.id}`;
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
||||
Reference in New Issue
Block a user