Fixed missing return causing no saves.
This commit is contained in:
parent
06e01fa680
commit
cdff8354a7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue