크리에이터 프로필 API
- 알림과 팔로우 상태값 null 처리
This commit is contained in:
@@ -46,7 +46,7 @@ class ExplorerQueryRepository(
|
||||
@Value("\${cloud.aws.cloud-front.host}")
|
||||
private val cloudFrontHost: String
|
||||
) {
|
||||
fun getCreatorFollowing(creatorId: Long, memberId: Long): GetCreatorFollowingResponse {
|
||||
fun getCreatorFollowing(creatorId: Long, memberId: Long): GetCreatorFollowingResponse? {
|
||||
return queryFactory
|
||||
.select(QGetCreatorFollowingResponse(creatorFollowing.isActive, creatorFollowing.isNotify))
|
||||
.from(creatorFollowing)
|
||||
|
@@ -223,9 +223,9 @@ class ExplorerService(
|
||||
youtubeUrl = creatorAccount.youtubeUrl,
|
||||
websiteUrl = creatorAccount.websiteUrl,
|
||||
blogUrl = creatorAccount.blogUrl,
|
||||
isFollow = creatorFollowing.isFollow,
|
||||
isNotify = creatorFollowing.isNotify,
|
||||
isNotification = creatorFollowing.isFollow,
|
||||
isFollow = creatorFollowing?.isFollow ?: false,
|
||||
isNotify = creatorFollowing?.isNotify ?: false,
|
||||
isNotification = creatorFollowing?.isFollow ?: false,
|
||||
notificationRecipientCount = notificationRecipientCount
|
||||
),
|
||||
userDonationRanking = memberDonationRanking,
|
||||
|
Reference in New Issue
Block a user