bugfix in 'summarize_story'

This commit is contained in:
Luk 2025-05-08 15:14:14 +08:00
parent 280cba80d6
commit 3e52b5a9f4

View File

@ -367,11 +367,11 @@ module.exports = {
} else if (linkTarget) {
summary.linkCount++
} else {
summary.untype++
summary.untypeCount++
}
return summary
},
{ textLength: 0, wordCount: 0, imageCount: 0, videoCount: 0, file: 0, link: 0, untype: 0 }
{ textLength: 0, wordCount: 0, imageCount: 0, videoCount: 0, fileCount: 0, linkCount: 0, untypeCount: 0 }
)
},