diff --git a/libUtils.js b/libUtils.js index 3baf970..dd884e0 100644 --- a/libUtils.js +++ b/libUtils.js @@ -72,7 +72,7 @@ exports.onError = (error) => { exports.sendPost = (post, source, channel, callback) => { const postTitle = post.title; const postLink = post.link; - const postContent = NodeHtmlMarkdown.translate(post.content).length; + const postContent = NodeHtmlMarkdown.translate(post.content); const postId = post.postId; const postPubDate = new Date(post.pubDate).toISOString() ?? new Date().toISOString(); var postSourceLink = new URL(source.link);