Closed benjaminfloyd closed 7 years ago
I am not sure why I am getting this error. router.post('/register', (req, res, next) => { let newUser = new User({ name: req.body.name, email: req.body.email, username: req.body.username, password: req.body.password });
router.post('/register', (req, res, next) => { let newUser = new User({ name: req.body.name, email: req.body.email, username: req.body.username, password: req.body.password });
https://github.com/benjaminfloyd/Angular2_Mean_Stack_App
Fixed it
how?
I am not sure why I am getting this error.
router.post('/register', (req, res, next) => { let newUser = new User({ name: req.body.name, email: req.body.email, username: req.body.username, password: req.body.password });
https://github.com/benjaminfloyd/Angular2_Mean_Stack_App