Skip to content

Commit

Permalink
chore(next/api): remove article feedback debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Mar 28, 2024
1 parent 4df68c8 commit c0995f9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions next/api/src/article/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand 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(
{
Expand Down

0 comments on commit c0995f9

Please sign in to comment.