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().