parent
e8cb4c6ea2
commit
307eea3ea2
|
@ -4,6 +4,7 @@ import com.querydsl.core.annotations.QueryProjection
|
|||
|
||||
data class GetMemberProfileResponse @QueryProjection constructor(
|
||||
val memberId: Long,
|
||||
val nickname: String,
|
||||
val profileImageUrl: String,
|
||||
val isBlocked: Boolean
|
||||
)
|
||||
|
|
|
@ -428,6 +428,7 @@ class MemberQueryRepositoryImpl(
|
|||
.select(
|
||||
QGetMemberProfileResponse(
|
||||
member.id,
|
||||
member.nickname,
|
||||
member.profileImage.prepend("/").prepend(cloudFrontHost),
|
||||
blockMember.id.isNotNull
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue