fix: 홈 메인 API - 인기 크리에이터
- 팔로잉 여부 추가
This commit is contained in:
@@ -123,7 +123,11 @@ data class Member(
|
||||
}
|
||||
}
|
||||
|
||||
fun toExplorerSectionCreator(imageHost: String, followerCount: Int = 0): GetExplorerSectionCreatorResponse {
|
||||
fun toExplorerSectionCreator(
|
||||
imageHost: String,
|
||||
follow: Boolean = false,
|
||||
followerCount: Int = 0
|
||||
): GetExplorerSectionCreatorResponse {
|
||||
return GetExplorerSectionCreatorResponse(
|
||||
id = id!!,
|
||||
nickname = nickname,
|
||||
@@ -136,7 +140,8 @@ data class Member(
|
||||
} else {
|
||||
"$imageHost/profile/default-profile.png"
|
||||
},
|
||||
followerCount = followerCount
|
||||
followerCount = followerCount,
|
||||
follow = follow
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user