Tell us what’s happening:
Hi. Every tests made seem to work as expected, still can’t pass get LOGS requirements.
Your project link(s)
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Challenge: Exercise Tracker
Link to the challenge:
Every logs request I see returns
Also, you do not seem to be following this user story:
/api/users/:_id/exercises with form data
duration , and optionally
date . If no date is supplied, the current date will be used.
Hope this helps
Thank you for your answers. Testing code with FCC solution checker creates many users in database, but few with exercises in it. Here is an _id with exercises in it : 61f934b69389d39f1b8d434f. The URL https://boilerplate-project-exercisetracker.djstiff50.repl.co/api/users/61f934b69389d39f1b8d434f/logs shows 4 objects in logs, included both “ex2” and “ex3” created with no date supplied (and still successfully used the current date).
newExercise.date !== ""
What about when
newExercise.date === undefined?
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.