profile page . how does the user update "Live In" ?
1
zfrika
where is Lives in pointing to ? and where is it defined in the database? we are lookin for : ${connection.location.current} we successfully passed : ${connection.location.from} which route called this page ? route called : .get(BASE_URL + '/contacts/:datatoken', values passed: res.render("./newpost/contacts", { username: existingToken.username, userList: formattedUserList }); passed as userList: formatedUserList. formatedUserList contains location: { from: user.usercountry, current: user.country } || 'N/A', why is from arriving, but not current? ${connection.location.from} ${connection.location.current} the one for users KK made both current and from values. so where is Untied state some user documents are missing country : . add it. where is it being defined in models? and in post to upload data.
update the newpost/editprofile.ejs" with id= country and added a dropdown list of countries.