WIP Form submit added.

This commit is contained in:
Naida Vatric
2020-02-07 12:26:29 +01:00
parent 6a957db183
commit 7777081c99
5 changed files with 46 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ const currentRealEstate = async req => {
const realEstateId = req && req.params ? req.params["realEstateId"] : null;
if (!realEstateId) return null;
return await getRealEstateById(realEstateId);
return await getRealEstateById(parseInt(realEstateId));
};
module.exports = {
currentSearchRequest,