커뮤니티 게시물 response - creatorId 추가

This commit is contained in:
Klaus 2023-12-21 23:36:20 +09:00
parent 555c3bfc73
commit 7326babc49
2 changed files with 4 additions and 0 deletions

View File

@ -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}"

View File

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