Gracefully allow user with no email

This commit is contained in:
Chi Vinh Le
2017-05-19 17:53:10 +07:00
parent 1d6455058e
commit 3688d3f970
-2
View File
@@ -516,8 +516,6 @@ module.exports = class UsersService {
};
return MailerService.sendSimple(options);
} else {
return Promise.reject(errors.ErrMissingEmail);
}
}
});