Back End Development and APIs Projects - Exercise Tracker

Tell us what’s happening:
please hellllllllllpppppp!!!

Your project link(s)

solution: boilerplate-project-exercisetracker-9 - 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.0.0 Safari/537.36

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge:

What is the issue? I noticed comments on which tests it passes. Which tests it doesn’t pass?

it said The date property of any object in the log array that is returned from GET /api/users/:id/logs should be a string…please how do i go about that?

So I had a look. The date property in GET ‘/api/users/:id/logs’ should be "date":"Sat Jul 16 2022". Your response is "date": "2022-07-16T00:00:00.000Z". And it is because in filter you return converted new Date(session.date).getTime().

You are modifying session.date in filter function to solve this if(...) { return session }.

Try if it works I am still a beginner too. :sweat_smile:

it worked…thanks sooo much