커뮤니티 게시물 response - creatorId 추가
This commit is contained in:
parent
555c3bfc73
commit
7326babc49
|
@ -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}"
|
||||
|
|
|
@ -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?,
|
||||
|
|
Loading…
Reference in New Issue