I cannot pass this test and don’t understand why, I believe my code already does this:
The response returned from POST /api/users/:_id/exercises will be the user object with the exercise fields added.
The response returned from POST(etc) by my code is exactly the same response as the example project they provide!
I cannot pass this test either and don’t understand why either:
Each item in the `log` array that is returned from `GET /api/users/:id/logs` is an object that should have a `description` , `duration` , and `date` properties.
The response returned from GET(etc) by my code is exactly the same response as the example project they provide too!
Finally, I cannot pass this test but my code already does it:
The dateproperty of any object in thelogarray that is returned fromGET /api/users/:id/logsshould be a string.. Use thedateStringformat of theDate API.
My dates are already in string format, so why is the test not being passed by my code either?
Thanks for your time
Jaime
https://boilerplate-project-exercisetracker-1.jaimeggb.repl.co
solution: https://replit.com/@jaimeggb/boilerplate-project-exercisetracker-1
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
Challenge: Exercise Tracker
Link to the challenge:
, otherwise we cannot complete the course 