T-954157790482088: change from user.tagferId to user.uid

- in this context user.uid is the tagferId
This commit is contained in:
Okechi Onyeje 2019-01-01 15:45:11 -05:00
parent 060154fa3e
commit 5a5bda6bb3

View File

@ -110,7 +110,7 @@ function signup(req, res) {
authDao.createNewUser(user).then( user => {
const sessionId = authDao.createNewSessionId(user.uid);
try {
profileDao.createInitialProfiles(profile,user.tagferId).then (() => {
profileDao.createInitialProfiles(profile,user.uid).then (() => {
res.json({sessionId});
}).catch((error) => {
res.status(http.BAD_REQUEST).json({error});