From d19ccd046a72acced9ff717712569ec91bb0cc8a Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sat, 4 Mar 2023 22:49:06 -0500 Subject: [PATCH] Missed debugging causing bug --- libUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);