Quality Assurance - Advance Node and Express

What is your hint or solution suggestion?
It is quite weird when using the snippet of code provided (using findOneAndUpdate) does not pass the test but when change it to findAndModify like the sample code, it passes.
Even weirder when I check the mongoDB documentation and the syntax used is for the findOneAndUpdate but not for findAndModify.

Challenge: Implementation of Social Authentication III

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.