I have failed to find edit and save

Tell us what’s happening:

i have failed to pass this challenge, any help?

Your code so far

        var findEditThenSave = (personId, done)=>{
  var foodToAdd = 'hamburger';
  Person.findById(personId, (err, persondata)=>{
    if (err) return console.log(err);
//     lets add hamburg to the array of foods
    persondata.favoriteFoods.push(foodToAdd);
//     lets save what we have added
    persondata.save((err, personUpdate)=>{
      if(err) return console.log(err);
       done(null, personUpdate);
    });
     
  });

};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0.

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

Link to the challenge:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).