From c0995f9abcec6c60bd186d9052dea859cf2c7a24 Mon Sep 17 00:00:00 2001 From: sdjdd Date: Thu, 28 Mar 2024 18:14:12 +0800 Subject: [PATCH] chore(next/api): remove article feedback debug log --- next/api/src/article/stats.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/next/api/src/article/stats.ts b/next/api/src/article/stats.ts index e33bc8976..6d4bb6d9e 100644 --- a/next/api/src/article/stats.ts +++ b/next/api/src/article/stats.ts @@ -11,7 +11,6 @@ export const analyzeArticles = async () => { }, }; for await (const article of articlesIterator) { - console.log('Start process', article.get('article').id, article.get('title')); if (article.get('revision')) { const revision = ArticleRevision.fromAVObject(article.get('revision')); const [upvote, downvote] = await Promise.all( @@ -22,7 +21,6 @@ export const analyzeArticles = async () => { .count({ useMasterKey: true }) ) ); - console.log('up/down:', upvote, downvote); if (upvote + downvote !== 0) { await revision.update( {