Skip to content

Commit

Permalink
fix : MemberCrewService.ConfirmCaptainMemberCrew 멤버크루 서비스 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hd0rable committed Aug 4, 2024
1 parent 7743171 commit 7e2c06e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@ public void createMemberCrew(Member member, Crew crew){
/**
* 크루 수정,삭제 시 접근하는 member가 CAPTAIN 인지 확인
*/
public boolean ConfirmCaptainMemberCrew(MemberCrew memberCrew) {
public void ConfirmCaptainMemberCrew(MemberCrew memberCrew) {
log.info("[MemberCrewService.ConfirmCaptainMemberCrew]");

if (!BaseRole.CAPTAIN.equals(memberCrew.getRole())) {
throw new MemberCrewException(NOT_MEMBERCREW_CAPTAIN);
}
return true;
}
}

0 comments on commit 7e2c06e

Please sign in to comment.