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?,