From 9e9ed9de075ba89f734e26c97942bf9ca0de9888 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Thu, 26 Apr 2018 04:53:56 +0200 Subject: [PATCH] Fixed text posts not passing streams correctly since previous change. --- 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 c6d4724..7f090c4 100644 --- a/src/fetch/content.js +++ b/src/fetch/content.js @@ -42,7 +42,7 @@ module.exports = function(posts, user) { return Promise.resolve().then(() => { return fs.ensureDir(path.dirname(filepath)); }).then(() => { - return save(filepath, item.streams, item); + return save(filepath, item.streams || item.stream, item); }).then(sourcePaths => { if(item.mux) { return mux(filepath, sourcePaths, item);