Fixed missing return causing no saves.

This commit is contained in:
DebaucheryLibrarian 2024-09-11 05:16:55 +02:00
parent f00821dbc9
commit 5264020084
1 changed files with 1 additions and 1 deletions

View File

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