node-restful-api-tutorial
node-restful-api-tutorial copied to clipboard
update routes/user.js L50, to findOne
using findOne
instead of find()
so we don't have to use indexing user[0].password,