Fix linting errors

This commit is contained in:
Cassie Tarakajian 2020-04-06 19:02:55 -04:00
parent ef4a8d7ea1
commit 9671cd0687
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ export function createUser(req, res, next) {
const EMAIL_VERIFY_TOKEN_EXPIRY_TIME = Date.now() + (3600000 * 24); // 24 hours
random((tokenError, token) => {
const user = new User({
username: username,
username,
email: emailLowerCase,
password,
verified: User.EmailConfirmation.Sent,