Another - Perform Classic Updates by Running Find, Edit, then Save

Can’t quite figure this challenge out. We are tasked with finding an id, updating an array, saving it, and returning the data, I think?

My log shows that my query is posting to the database, but I can’t get it to save. Not sure if I have my callbacks set up correctly.

I’ve looked at the docs and other answers and still can’t get it. Any help appreciated!

var findEditThenSave = function(personId, done) {
  var foodToAdd = 'hamburger';
  const foundPerson = Person.findById(personId, { $push: { favoriteFoods: foodToAdd } }, (err, data) => {
    if(err) {
      done(err);
    } else {
      done(null, data);
      Person.save(data);
      
      console.log(data);
    }
  });
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Perform Classic Updates by Running Find, Edit, then Save

Link to the challenge:

Update: I checked the database and the document has been updated correctly. Not sure why the challenge won’t pass.

Bump. Stuck on the same challenge right now!