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: