change column name from 'city' to 'region'
This commit is contained in:
@@ -3,7 +3,7 @@ const { getMunicipalitiesForRegion } = require('../helpers/codes');
|
||||
|
||||
const getMunicipality = async (req,res) => {
|
||||
let request = await currentRERequest(req);
|
||||
const municipalities = getMunicipalitiesForRegion(request.city);
|
||||
const municipalities = getMunicipalitiesForRegion(request.region);
|
||||
const nextStep = req.query.nextStep || '/';
|
||||
res.render('municipality', {
|
||||
nextStep,
|
||||
|
||||
Reference in New Issue
Block a user