diff --git a/src/ups/auth/handlers.js b/src/ups/auth/handlers.js index fc24253..a98b938 100644 --- a/src/ups/auth/handlers.js +++ b/src/ups/auth/handlers.js @@ -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});