Fixed missing return causing no saves.
This commit is contained in:
parent
f00821dbc9
commit
5264020084
|
@ -35,7 +35,7 @@ module.exports = function(posts) {
|
||||||
return fetchItem(source, 0, post);
|
return fetchItem(source, 0, post);
|
||||||
})).then(streams => {
|
})).then(streams => {
|
||||||
if(streams.filter(stream => stream).length > 0) {
|
if(streams.filter(stream => stream).length > 0) {
|
||||||
Object.assign({}, item, {streams})
|
return Object.assign({}, item, {streams})
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue