test #214
|
@ -46,7 +46,7 @@ class ExplorerQueryRepository(
|
||||||
@Value("\${cloud.aws.cloud-front.host}")
|
@Value("\${cloud.aws.cloud-front.host}")
|
||||||
private val cloudFrontHost: String
|
private val cloudFrontHost: String
|
||||||
) {
|
) {
|
||||||
fun getCreatorFollowing(creatorId: Long, memberId: Long): GetCreatorFollowingResponse {
|
fun getCreatorFollowing(creatorId: Long, memberId: Long): GetCreatorFollowingResponse? {
|
||||||
return queryFactory
|
return queryFactory
|
||||||
.select(QGetCreatorFollowingResponse(creatorFollowing.isActive, creatorFollowing.isNotify))
|
.select(QGetCreatorFollowingResponse(creatorFollowing.isActive, creatorFollowing.isNotify))
|
||||||
.from(creatorFollowing)
|
.from(creatorFollowing)
|
||||||
|
|
|
@ -223,9 +223,9 @@ class ExplorerService(
|
||||||
youtubeUrl = creatorAccount.youtubeUrl,
|
youtubeUrl = creatorAccount.youtubeUrl,
|
||||||
websiteUrl = creatorAccount.websiteUrl,
|
websiteUrl = creatorAccount.websiteUrl,
|
||||||
blogUrl = creatorAccount.blogUrl,
|
blogUrl = creatorAccount.blogUrl,
|
||||||
isFollow = creatorFollowing.isFollow,
|
isFollow = creatorFollowing?.isFollow ?: false,
|
||||||
isNotify = creatorFollowing.isNotify,
|
isNotify = creatorFollowing?.isNotify ?: false,
|
||||||
isNotification = creatorFollowing.isFollow,
|
isNotification = creatorFollowing?.isFollow ?: false,
|
||||||
notificationRecipientCount = notificationRecipientCount
|
notificationRecipientCount = notificationRecipientCount
|
||||||
),
|
),
|
||||||
userDonationRanking = memberDonationRanking,
|
userDonationRanking = memberDonationRanking,
|
||||||
|
|
Loading…
Reference in New Issue