From 0c0c4019aaaf78cf5f54fd873e84a3c3a19131b3 Mon Sep 17 00:00:00 2001
From: Klaus <klaus@vividnext.co.kr>
Date: Thu, 30 May 2024 02:25:13 +0900
Subject: [PATCH] =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20!!=20?=
 =?UTF-8?q?=EC=A0=9C=EA=B1=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../profile/creatorCommunity/CreatorCommunityService.kt     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt
index 24d0073..39c83db 100644
--- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt
+++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/CreatorCommunityService.kt
@@ -404,10 +404,10 @@ class CreatorCommunityService(
             }
             .map {
                 val isLike =
-                    likeRepository.findByPostIdAndMemberId(postId = it.id!!, memberId = memberId)?.isActive ?: false
-                val likeCount = likeRepository.totalCountCommunityPostLikeByPostId(it.id!!)
+                    likeRepository.findByPostIdAndMemberId(postId = it.id, memberId = memberId)?.isActive ?: false
+                val likeCount = likeRepository.totalCountCommunityPostLikeByPostId(it.id)
                 val commentCount = if (it.isCommentAvailable) {
-                    commentRepository.totalCountCommentByPostId(postId = it.id!!)
+                    commentRepository.totalCountCommentByPostId(postId = it.id)
                 } else {
                     0
                 }