Open danthegoodman1 opened 6 years ago
Line 40 in user.js needs to be changed from: newUser.save(callback); to: newUser.save(callback()); otherwise posting will sit loading forever in postman.
newUser.save(callback);
newUser.save(callback());
The app works on live deployment. Postman can be used for testing. Once the new user is saved, they can log in.
Line 40 in user.js needs to be changed from:
newUser.save(callback);
to:newUser.save(callback());
otherwise posting will sit loading forever in postman.