test #214

Merged
klaus merged 13 commits from test into main 2024-09-23 06:24:12 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 20938e7d43 - Show all commits

View File

@ -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)

View File

@ -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,