Tell us what’s happening:
Describe your issue in detail here.
All other test Im passing and code seems to work fine when I enter a new user and exercise, I get no errors. Data output in the correct format as strings and number for each case.
Not passing this two:
-
Failed:The response returned from
POST /api/users/:_id/exercises
will be the user object with the exercise fields added. -
Failed:The
date
property of any object in thelog
array that is returned fromGET /api/users/:_id/logs
should be a string. Use thedateString
format of theDate
API.
Below is the code snippet and the link for the repo.
Any help is appreciated.
Thanks!
###Your project link(s)
solution: http://localhost:3000
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Challenge Information:
Back End Development and APIs Projects - Exercise Tracker