From 7326babc491416c815ac8be508fc2e28412274a2 Mon Sep 17 00:00:00 2001 From: Klaus Date: Thu, 21 Dec 2023 23:36:20 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20?= =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EB=AC=BC=20response=20-=20creatorId=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../profile/creatorCommunity/CreatorCommunityService.kt | 3 +++ .../profile/creatorCommunity/GetCommunityPostListResponse.kt | 1 + 2 files changed, 4 insertions(+) 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 c4ff494..9d7aed0 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 @@ -165,6 +165,7 @@ class CreatorCommunityService( GetCommunityPostListResponse( postId = it.id!!, + creatorId = it.member!!.id!!, creatorNickname = it.member!!.nickname, creatorProfileUrl = if (it.member!!.profileImage != null) { "$imageHost/${it.member!!.profileImage}" @@ -221,6 +222,7 @@ class CreatorCommunityService( return GetCommunityPostListResponse( postId = post.id!!, + creatorId = post.member!!.id!!, creatorNickname = post.member!!.nickname, creatorProfileUrl = if (post.member!!.profileImage != null) { "$imageHost/${post.member!!.profileImage}" @@ -388,6 +390,7 @@ class CreatorCommunityService( GetCommunityPostListResponse( postId = it.id!!, + creatorId = it.member!!.id!!, creatorNickname = it.member!!.nickname, creatorProfileUrl = if (it.member!!.profileImage != null) { "$imageHost/${it.member!!.profileImage}" diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt index b147761..4aed806 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt @@ -5,6 +5,7 @@ import kr.co.vividnext.sodalive.explorer.profile.creatorCommunity.comment.GetCom data class GetCommunityPostListResponse @QueryProjection constructor( val postId: Long, + val creatorId: Long, val creatorNickname: String, val creatorProfileUrl: String, val imageUrl: String?,