parent
9516ce1c0f
commit
20938e7d43
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue