Skip to content

Commit

Permalink
[SAMBAD-307] 모임원 정보 수정 Body 내 role 필드 nullable로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kkjsw17 committed Aug 27, 2024
1 parent 4a28b63 commit 947d462
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static MeetingMember createMemberWith(
meeting,
user,
user.getProfileImageFile(),
request.role(),
request.role() == null ? MeetingMemberRole.MEMBER : request.role(),
request.name(),
request.gender(),
request.birth(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
public record MeetingMemberPersistRequest(

@Schema(description = "모임원 유형 (OWNER, ADMIN, MEMBER)", example = "MEMBER", requiredMode = REQUIRED)
@NotNull
MeetingMemberRole role,

@Schema(description = "모임원 이름", example = "권기준", requiredMode = REQUIRED)
Expand Down

0 comments on commit 947d462

Please sign in to comment.