Tell us what’s happening:
Based on the test data, the very last test,
" You can add
from
,to
andlimit
parameters to aGET /api/users/:_id/logs
request to retrieve part of the log of any user.from
andto
are dates inyyyy-mm-dd
format.limit
is an integer of how many logs to send back."
The “From and To” portion of the test would never actually test the individuals’ code, since the test range is 1989-12-31 to 1990-01-04 … and the data is from 1990-01-01 to 1990-01-03.
Your code so far
(I’ve completed this challenge, and all tests pass)
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Challenge: Back End Development and APIs Projects - Exercise Tracker
Link to the challenge: