Tell us what’s happening:
Describe your issue in detail here.
I am creating user and exercise with correct response, but the log for user fails to show up. Error message says:
TypeError: Cannot read property 'username' of undefined
at getUsernameById (/app/server.js:19:68)
at app.get (/app/server.js:74:15)
Your project link(s)
solution: Glitch :・゚✧
code: Glitch :・゚✧
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
Challenge: Exercise Tracker
Link to the challenge: