fix(feed): feed error ordering resolved

This commit is contained in:
Alexey Kasyanchuk
2018-07-18 08:17:31 +03:00
parent 16aa6d7e62
commit b5a775e7d5

View File

@ -89,7 +89,7 @@ module.exports = class Feed {
{
const rating = (x && x.good) || 0
const comments = 0
const time = Math.floor(Date.now() / 1000) - x.feedDate
let time = Math.floor(Date.now() / 1000) - x.feedDate
const maxTime = 600000
if(time > maxTime)