resolve merge conflict

This commit is contained in:
Nathan Leniz
2015-03-21 17:04:31 +09:00
2 changed files with 9 additions and 6 deletions

View File

@ -19,7 +19,7 @@ function hotRank(timeValue, rank) {
*/
var hotness;
var z = Math.log(rank) / Math.log(10);
hotness = z + (timeValue / 45000000);
hotness = z + (timeValue / 172800000);
return hotness;
}

View File

@ -94,6 +94,9 @@ exports.getEmailSignup = function(req, res) {
*/
exports.postEmailSignup = function(req, res, next) {
req.assert('email', 'valid email required').isEmail();
var errors = req.validationErrors();
if (errors) {