fix(content-series): 차단 접근 오류 메시지 키를 분리한다
This commit is contained in:
@@ -525,7 +525,7 @@ class AudioContentService(
|
||||
?: throw SodaException(messageKey = "content.error.user_not_found")
|
||||
|
||||
if (isBlockedBetweenMembers(memberId = member.id!!, creatorId = creatorId)) {
|
||||
throw SodaException(messageKey = "content.error.invalid_content_retry")
|
||||
throw SodaException(messageKey = "content.error.blocked_access")
|
||||
}
|
||||
|
||||
val creatorFollowing = explorerQueryRepository.getCreatorFollowing(
|
||||
|
||||
@@ -247,7 +247,7 @@ class ContentSeriesService(
|
||||
val isBlocked = blockMemberRepository.isBlocked(blockedMemberId = member.id!!, memberId = series.member!!.id!!) ||
|
||||
blockMemberRepository.isBlocked(blockedMemberId = series.member!!.id!!, memberId = member.id!!)
|
||||
if (isBlocked) {
|
||||
throw SodaException(messageKey = "series.error.invalid_series_retry")
|
||||
throw SodaException(messageKey = "series.error.blocked_access")
|
||||
}
|
||||
|
||||
val creatorFollowing = explorerQueryRepository.getCreatorFollowing(
|
||||
|
||||
Reference in New Issue
Block a user