Open mariaalouisaa opened 2 years ago
I get the use of the async await in the login.js & signup.js files (good job in implementing those!) but just wondering what the advantage is on using in the model.js file for the db.query()'s?
It's the same advantage I'd say, to improve the readability of the code in our model.js as well.
model.js
I get the use of the async await in the login.js & signup.js files (good job in implementing those!) but just wondering what the advantage is on using in the model.js file for the db.query()'s?