Hi,
I would expect this to work:
app.get("/api/users/:_id/logs/:from?/:to?/:limit?",
console.log(req.params.from)
params are undefined…
bug?
Thanks
Your project link(s)
solution: boilerplate-project-exercisetracker - Replit
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
Challenge: Exercise Tracker
Link to the challenge: