MongoDB and Mongoose - Use model.findById() to Search Your Database By _id

It says unexpected end input but, I can’t seem to find any problem with the code. I’ve tried using the function method with writing out function and it still seems to give the same error.

https://boilerplate-mongomongoose-3.aminaatik.repl.co
Your code so far

Your browser information:

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

Challenge: MongoDB and Mongoose - Use model.findById() to Search Your Database By _id

Link to the challenge:

@aminaatik2000 I assume this can be closed?

In the future, please do not create duplicate topics for the same project questions. It creates confusion when a question has already been answered in a duplicate to your satisfaction. Other users who come to one of your duplicate topics will be wasting time answering a question that has already been solved in another topic.

Thank you for understanding.