다른 회원 프로필 조회 API

- 조회하려는 회원이 정상적으로 조회되도록 조건 추가
This commit is contained in:
Klaus 2024-09-07 00:51:23 +09:00
parent 307eea3ea2
commit 7f855bfc56
1 changed files with 2 additions and 1 deletions

View File

@ -438,8 +438,9 @@ class MemberQueryRepositoryImpl(
.on(
member.id.eq(blockMember.blockedMember.id)
.and(blockMember.isActive.isTrue)
.and(blockMember.member.id.eq(memberId))
.and(blockMember.member.id.eq(myMemberId))
)
.where(member.id.eq(memberId))
.fetchFirst()
}
}