크리에이터 내 채널 - 팔로워 리스트
- 알림설정 여부 추가
This commit is contained in:
		| @@ -307,8 +307,11 @@ class ExplorerService( | ||||
|  | ||||
|         val followerList = queryRepository.getFollowerList(creatorId, pageable.offset, pageable.pageSize.toLong()) | ||||
|             .map { | ||||
|                 val isFollow = if (it.role == MemberRole.CREATOR) { | ||||
|                     queryRepository.isFollow(creatorId = it.userId, memberId = member.id!!) | ||||
|                 val creatorFollowing = if (it.role == MemberRole.CREATOR) { | ||||
|                     queryRepository.getCreatorFollowing( | ||||
|                         creatorId = it.userId, | ||||
|                         memberId = member.id!! | ||||
|                     ) | ||||
|                 } else { | ||||
|                     null | ||||
|                 } | ||||
| @@ -317,7 +320,8 @@ class ExplorerService( | ||||
|                     userId = it.userId, | ||||
|                     profileImage = it.profileImage, | ||||
|                     nickname = it.nickname, | ||||
|                     isFollow = isFollow | ||||
|                     isFollow = creatorFollowing?.isFollow ?: false, | ||||
|                     isNotify = creatorFollowing?.isNotify ?: false | ||||
|                 ) | ||||
|             } | ||||
|  | ||||
|   | ||||
| @@ -9,5 +9,6 @@ data class GetFollowerListResponseItem( | ||||
|     val userId: Long, | ||||
|     val profileImage: String, | ||||
|     val nickname: String, | ||||
|     val isFollow: Boolean? | ||||
|     val isFollow: Boolean?, | ||||
|     val isNotify: Boolean? | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user