Tell us what’s happening:
I can’t figure out why i failed the tests. I am failing all the GET
request to /api/users/:id/logs
tests.
GET
request to /api/users/:id/logs
but this is sample return of that api
{
“_id”:“613d9f9d7bf7828ef46bc8d3”,
“username”:“fcc_test_16314285085”,"
count":2,
“log”:[
{“description”:“test”,“duration”:60,“date”:“Mon Jan 01 1990”},
{“description”:“test”,“duration”:60,“date”:“Tue Jan 02 1990”}
]
}
and this is exactly the same as specified by freecodecamp
Your project link(s)
solution: https://fcc-exercise-tracker-ben.herokuapp.com
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
Challenge: Exercise Tracker
Link to the challenge: