Skip to content

Commit

Permalink
[fix] 컨텐츠 개수 구하기 로직 수정 (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdtkdgns authored Aug 2, 2023
1 parent 17362d4 commit 4bd3861
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private TitleContentCntVo(Long archivingId, String title, Long contentCnt) {
public static TitleContentCntVo from(Archiving archiving) {
return TitleContentCntVo.builder()
.archivingId(archiving.getId())
.contentCnt(archiving.getImgCnt() + archiving.getScrapCnt())
.contentCnt(archiving.getImgCnt() + archiving.getLinkCnt())
.title(archiving.getTitle())
.build();
}
Expand Down

0 comments on commit 4bd3861

Please sign in to comment.