Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
*.jar binary
*.tf text eol=lf
*.sh text eol=lf
# 모든 텍스트 파일은 LF로 정규화
*.sh text eol=lf
* text=auto eol=lf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ public boolean isLeader() {
return false;
}


public boolean isViceLeader() {
if (this.role == Role.party_SUBMANAGER) return true;
return false;
}

public void changeRole(Role newRole) {
this.role = newRole;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public enum MemberErrorCode implements BaseErrorCode {
ALREADY_WITHDRAW(HttpStatus.UNAUTHORIZED, "MEMBER301", "이미 탈퇴한 회원입니다."),

MANAGER_CANNOT_LEAVE(HttpStatus.BAD_REQUEST, "MEMBER401", "모임장은 탈퇴할 수 없습니다. 모임 삭제를 먼저 해주세요."),
SUBMANAGER_CANNOT_LEAVE(HttpStatus.BAD_REQUEST, "MEMBER402", "부모임장은 탈퇴할 수 없습니다. 모임 탈퇴를 먼저 해주세요."),
SUBMANAGER_CANNOT_LEAVE(HttpStatus.BAD_REQUEST, "MEMBER402", "부모임장은 탈퇴할 수 없습니다. 모임 삭제를 먼저 해주세요."),

// 회원 주소 관련
ADDRESS_NOT_FOUND(HttpStatus.NOT_FOUND, "MEM_ADDR201", "해당 주소를 찾을 수 없습니다."),
Expand Down
Loading