arrow_back Back to Tickets

Ticket #340c81

completed

Problem

profile page . how does the user update "Live In" ?

Priority

1

Project Name

zfrika

Next Steps

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.

Solution

update the newpost/editprofile.ejs" with id= country and added a dropdown list of countries.

Ticket Information

Ticket ID: 6973a2a9d50c22b7dc340c81
Date Initiated: 1/24/2026, 8:32:00 AM
Date Resolved: 1/23/2026, 9:04:00 PM
Status: completed
Created: 1/23/2026, 8:32:41 AM
Last Updated: 1/23/2026, 9:04:21 PM