A fair few of the functions in your application aren't making use of the arguments you give them.
Examples include:
handleAuth - doesn't need reshandleBuy - doesn't need reqhandleCart - doesn't need req, but may do once you change the username to not be hard coded...
handleError - doesn't need req
It's not a big deal and gives you more room to change functionality later, but still worth considering.
A fair few of the functions in your application aren't making use of the arguments you give them.
Examples include:
handleAuth
- doesn't needres
handleBuy
- doesn't needreq
handleCart
- doesn't needreq
, but may do once you change the username to not be hard coded...handleError
- doesn't needreq
It's not a big deal and gives you more room to change functionality later, but still worth considering.