models/user.js register()
tommyd2377 opened this issue · comments
newUser not being created with handleRegister POST req
I've narrowed the problem down to pg-promise. My user object is not being inserted into the db
it's the register function in models/user.js