Back End Development and APIs Projects - Exercise Tracker

Tell us what’s happening:
This test is failing but it works fine when I run it in my browser and I’ve double checked it’s formatted correctly: You can make a GET request to /api/users/:_id/logs to retrieve a full exercise log of any user.

I do see CORS policy errors in the browser when I run the tests, and my code already has app.use(cors()).

Your project link(s)

solution: boilerplate-project-exercisetracker - 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/103.0.0.0 Safari/537.36

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge: