채널 후원랭킹 보기 스위칭 API 추가
This commit is contained in:
@@ -28,6 +28,8 @@ data class Member(
|
||||
@Enumerated(value = EnumType.STRING)
|
||||
var role: MemberRole = MemberRole.USER,
|
||||
|
||||
var isVisibleDonationRank: Boolean = true,
|
||||
|
||||
var isActive: Boolean = true,
|
||||
|
||||
var container: String = "web"
|
||||
|
@@ -547,6 +547,10 @@ class MemberService(
|
||||
member.blogUrl = profileUpdateRequest.blogUrl
|
||||
}
|
||||
|
||||
if (profileUpdateRequest.isVisibleDonationRank != null) {
|
||||
member.isVisibleDonationRank = profileUpdateRequest.isVisibleDonationRank
|
||||
}
|
||||
|
||||
return ProfileResponse(member, cloudFrontHost, profileUpdateRequest.container)
|
||||
}
|
||||
|
||||
|
@@ -13,5 +13,6 @@ data class ProfileUpdateRequest(
|
||||
val instagramUrl: String? = null,
|
||||
val websiteUrl: String? = null,
|
||||
val blogUrl: String? = null,
|
||||
val isVisibleDonationRank: Boolean? = null,
|
||||
val container: String
|
||||
)
|
||||
|
Reference in New Issue
Block a user