Tell us what’s happening:
It seems I cannot get tests #10 to #15 to pass. There is an issue with my count and log attributes, even though I always see them present in the responses.
I checked the Network tab while I run the tests and everything seems to be fine. What am I missing?
Your project link(s)
Your browser information:
User Agent is:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Challenge: Back End Development and APIs Projects - Exercise Tracker
Link to the challenge:
im getting a 404 error for this repl link…
This is the correct link. Sorry!
/api/users/:_id/logs is returning an empty array.
The response from
/api/users/:_id/exercises that happens before the
/api/users/:_id/logs is returning this.
You have this in your code
if (date === '') I would suggest you log out
date to make sure your assumption about it is correct (hint, it is not).
Lesson learned. THANK YOU!