Fixed missing return causing no saves.

This commit is contained in:
ThePendulum 2018-05-05 22:39:21 +02:00
parent 06e01fa680
commit cdff8354a7
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module.exports = function(posts) {
return fetchItem(source, 0, post);
})).then(streams => {
if(streams.filter(stream => stream).length > 0) {
Object.assign({}, item, {streams})
return Object.assign({}, item, {streams})
}
return null;