Back End Development and APIs Projects - Exercise Tracker

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 the log array that is returned from GET /api/users/:_id/logs should be a string. Use the dateString format of the Date 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

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.