From 58eaec5f588e3430bf6f9727ebc08373bc0a068c Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 11 Sep 2024 05:16:54 +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);