Not able to address the issue in Exercise Tracker

Tell us what’s happening:
Describe your issue in detail here.

I am unable to understand following requirements.

You can make a GET request to /api/users/:_id/logs to retrieve a full exercise log of any user. The returned response will be the user object with a log array of all the exercises added. Each log item has the description , duration , and date properties.

A request to a user’s log ( /api/users/:_id/logs ) returns an object with a count property representing the number of exercises returned.

My Response
{
“_id”: “61079aacd12ee601c66f2780”,
“username”: “princekumar”,
“count”: 2,
“log”: [
{
“description”: “MyDesc5”,
“duration”: 20,
“date”: “Thu Dec 10 2020”
},
{
“description”: “MyDesc6”,
“duration”: 25,
“date”: “Thu Dec 10 2020”
}
]
}

Your project link(s)

solution: https://replit.com/@ipreencekmr/boilerplate-project-exercisetracker

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Challenge: Exercise Tracker

Link to the challenge:

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