doqmentdb icon indicating copy to clipboard operation
doqmentdb copied to clipboard

Unhandled rejection Error when creating a new object

Open vkronreif opened this issue 8 years ago • 0 comments

When i try to create a new user like this:

users.create({ name: req.body.name, email: req.body.email, password: req.body.password}) .then(console.log) .catch(console.log);

I only get an unhandled rejection error. Screenshot of the Error attached. error

vkronreif avatar Dec 27 '15 18:12 vkronreif