Last test in Exercise Tracker

Can someone help me figuring out what is the expected output of this test:
‘’ You can add from , to and limit parameters to a GET /api/users/:_id/logs request to retrieve part of the log of any user. from and to are dates in yyyy-mm-dd format. limit is an integer of how many logs to send back.’’

Really stuck at this point for a day TvT

solution: Glitch :・゚✧

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0

Challenge: Exercise Tracker

Link to the challenge:

Welcome there,

Despite a limit of 1 being sent in the query, your app returns 2 logs:

This should be an easy fix, but let us know if you are still stuck.

Hope this helps

Oh I see the problem. Forgot to assign back from the slice method ^^

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