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);