fix user create response

This commit is contained in:
Girish Ramakrishnan
2016-04-06 10:20:32 -07:00
parent 4c964bcaf8
commit 275d8c2121
4 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ function createUser(req, res, next) {
resetToken: user.resetToken
};
next(new HttpSuccess(201, { userInfo: userInfo }));
next(new HttpSuccess(201, userInfo ));
});
}