From 4c2cbb5b1254e8b128b63e36ee09aed31a829bab Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 6 Mar 2024 14:58:15 -0500 Subject: [PATCH] fix: remove console logging --- src/topics/posts.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/topics/posts.js b/src/topics/posts.js index a384bfe069..bf967291e1 100644 --- a/src/topics/posts.js +++ b/src/topics/posts.js @@ -246,12 +246,9 @@ module.exports = function (Topics) { }; Topics.addPostToTopic = async function (tid, postData) { - console.log('now in addPostToTopic', tid, postData); const mainPid = await Topics.getTopicField(tid, 'mainPid'); - console.log(mainPid); if (!mainPid) { await Topics.setTopicField(tid, 'mainPid', postData.pid); - console.log('what'); } else { const upvotes = parseInt(postData.upvotes, 10) || 0; const downvotes = parseInt(postData.downvotes, 10) || 0;