Router.use() requires a middleware function but got a Object

Tell us what’s happening:
I’m getting this error after I run this file on replit, kindly help if there is something I’m missing.

Your project link(s)

solution: boilerplate-express - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Use the .env File

Link to the challenge:

Your code is passing for me so I assume you fixed it?

Yes I fixed it, thanks❤