Anonymous message board - populate in mongoose not working

Tell us what’s happening:
The populate function in mongoose is not working. I am trying to populate the replies field in the Thread model which refers to the Reply document. But it is not fetching the results. If I try to fetch the reply model separately, I correctly fetches the record. Can anyone help me on this issue.

Your code so far

Your browser information:

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

Challenge: Anonymous Message Board

Link to the challenge: