Tell us what’s happening:
Please Help.
It passing all the tests except one where we have to add data to the exercise at /api/exercise/add
.
This is what showing when to submit my solution-
// running tests I can add an exercise to any user by posting form data userId(_id), description, duration, and optionally date to /api/exercise/add. If no date supplied it will use the current date. App will return the user object with the exercise fields added. // tests completed
Your code so far
Link to the code - https://glitch.com/edit/#!/join/daac4111-4772-452a-8afe-0c60109673e8
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
.
Challenge: Exercise Tracker
Link to the challenge: