Tell us what’s happening:
Describe your issue in detail here.
TESTS:
The response returned from POST /api/users/:_id/exercises
will be the user object with the exercise fields added.
The date
property of any object in the log
array that is returned from GET /api/users/:id/logs
should be a string. Use the dateString
format of the Date
API.
When I run these two tests by myself they give the right answers.
But when tested by freecodecamp they get failed.
Your project link(s)
solution: exercisetracker - Replit
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.47
Challenge: Back End Development and APIs Projects - Exercise Tracker
Link to the challenge: