Advanced Node and Express - Create New Middleware IDK what todo

Tell us what’s happening:
can’t pass this. help, please
https://glitch.com/edit/#!/crawling-litter
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/77.0.3865.75 Safari/537.36.

Challenge: Advanced Node and Express - Create New Middleware

Link to the challenge:
https://www.freecodecamp.org/learn/information-security-and-quality-assurance/advanced-node-and-express/create-new-middleware

Hi @Miodrag09, you aren’t passing the function you created as the first parameter of the get() method of the route.

This is the example in the challenge:

app
 .route('/profile')
 .get(ensureAuthenticated, (req,res) => {
    res.render(process.cwd() + '/views/pug/profile');
 });