From cdff8354a7672e29b9a23b7a02e1ec3890be78c4 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Sat, 5 May 2018 22:39:21 +0200 Subject: [PATCH] Fixed missing return causing no saves. --- src/fetch/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fetch/content.js b/src/fetch/content.js index fb4b415..c9f62a4 100644 --- a/src/fetch/content.js +++ b/src/fetch/content.js @@ -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;