fix(feed): type in adding feed entity
This commit is contained in:
@ -61,7 +61,7 @@ module.exports = class Feed {
|
||||
if(this.feed.length >= this.max)
|
||||
{
|
||||
//cleanup
|
||||
for(let i = this.feed.length - 1; i <= 0; i--)
|
||||
for(let i = this.feed.length - 1; i >= 0; i--)
|
||||
if(this._compare(this.feed[i]) <= 0)
|
||||
this.feed.pop()
|
||||
else
|
||||
|
Reference in New Issue
Block a user