Skip to content

Commit 142b0c8

Browse files
authored
Merge pull request #455 from boostcampwm-2024/feat/add-comment-count-to-redis
✨ feat: 최근 게시글을 redis에 캐싱할 때, comments 데이터가 포함되도록 추가
2 parents c342f8e + 7b3f42f commit 142b0c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

feed-crawler/src/repository/feed.repository.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export class FeedRepository {
9494
title: feed.title,
9595
tag: Array.isArray(feed.tag) ? feed.tag : [],
9696
likes: 0,
97+
comments: 0,
9798
});
9899
}
99100
});

0 commit comments

Comments
 (0)