I can’t seem to pass the last two tests from the exercise tracker project. I have tried accessing the route multiple times in my repl with different queries and they seem to work fine (date in response is string and queries work fine).
I have looked at every single forum questions and tried everything but I seem to not pass the last two tests
The tests are:
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
Waiting: You can add
limit parameters to a
GET /api/users/:_id/logs request to retrieve part of the log of any user.
to are dates in
limit is an integer of how many logs to send back.
Here’s my replit code
NVM I SOLVED IT SORRY