So I am trying to add a field to a user object right before I return it and the property is not being added for some reason. Any thoughts?
returnUser = function(userRes) {
  console.log(">POST /returnuser< Returning user w/ userId: " + userRes.userId + " deviceToken: " + userRes.deviceToken);
  return Location.findOne({
    users: {
      $elemMatch: {
        user: userRes.userId
      }
    }
  }, function(error, response) {
    userRes.currentLocation = response;
    console.log(userRes);
    return res.send(userRes);
  });
};
So in the returnUser function I am searching the DB for the user's current location, adding that to the userRes object and then returning it. But when I log the userRes object it doesn't contain that property. Any issue with my code? userRes currently looks like this:
{ _id: 1,
  createTime: 1428477183281,
  deviceId: '982f24khsd',
  deviceToken: 'kjs398fskjjg5fb43ds323',
  firstName: 'Cat',
  lastName: 'Man',
  email: 'cat@mandu.com',
  __v: 0,
  users: [],
  locations: [],
  lngLat: [] }
