From 5264020084d46409947a9e1f65b5327776f998e1 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 11 Sep 2024 05:16:55 +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;