resolve merge conflict
This commit is contained in:
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user