fix(member): getMemberInfo 응답 role을 CREATOR 외에는 USER로 매핑
This commit is contained in:
@@ -252,7 +252,7 @@ class MemberService(
|
|||||||
gender = gender,
|
gender = gender,
|
||||||
signupDate = signUpDate,
|
signupDate = signUpDate,
|
||||||
chargeCount = chargeCount,
|
chargeCount = chargeCount,
|
||||||
role = member.role,
|
role = if (member.role == MemberRole.CREATOR) MemberRole.CREATOR else MemberRole.USER,
|
||||||
messageNotice = member.notification?.message,
|
messageNotice = member.notification?.message,
|
||||||
followingChannelLiveNotice = member.notification?.live,
|
followingChannelLiveNotice = member.notification?.live,
|
||||||
followingChannelUploadContentNotice = member.notification?.uploadContent,
|
followingChannelUploadContentNotice = member.notification?.uploadContent,
|
||||||
|
|||||||
Reference in New Issue
Block a user