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}")
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)

View File

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