Back End Development and APIs Projects - URL Shortener Microservice

Hello,
I am not able to figure out why my solution is not passing the last test. I tried it with multiple URLs, and it works fine, but the test is not passing.

Your project link(s)
solution: boilerplate-project-urlshortener-3 - Node.js Repl - Replit

Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Challenge: Back End Development and APIs Projects - URL Shortener Microservice

Link to the challenge:

Actually it´s right, but the system is not accepting the last test. I made this change in your code and it worked - line 80.

else{
      return res.send({
        error: 'invalid url'
      })
    }

Finally, It worked after making this change. I have been stuck for so long on this problem.
Thank you so much!!