Tell us what’s happening:
I’ve past all test when running my app on localhost. But after I deploy and run test from there, my app failed at:
The date property of any object in the log array that is returned from GET /api/users/:id/logs should be a string. Use the dateString format of the Date API.
I’ve already double check that all date stored in database all in string. Even when I console.log the log array itself, the date still a string. I even has a console.log copies atm, both that came from my local editor and heroku.
Please help me. Thanks in advance.
Your project link(s)
solution: https://arp-fcc-exercisetracker.herokuapp.com
githubLink: GitHub - AR-Project/fcc-exercisetracker: A challenge for freeCodeCamp project.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0
Challenge: Back End Development and APIs Projects - Exercise Tracker
Link to the challenge: