Skip to content

Commit

Permalink
๐Ÿ›bug: ํŒ€์› ๊ฐ•ํ‡ด ์˜ค๋ฅ˜ ์ˆ˜์ •(#204) (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
600gramSik authored Sep 19, 2024
1 parent 7cb9976 commit a0b04be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void kickOutMembers(Long memberId, Long teamId, User user) {
// ํ”„๋กœํ•„ ์กด์žฌ ํ™•์ธ
accountsCommonService.checkUserProfile(teamMember.getUser());
//๋ฐฉ์žฅ์—๊ฒŒ๋งŒ ๊ฐ•ํ‡ด ๊ถŒํ•œ
if (team.getLeader().getId().equals(user.getId()))
if (!team.getLeader().getId().equals(user.getId()))
throw new TeamMemberExceptionHandler(ErrorCode.NO_AUTHORIZATION);

//๋ฐฉ์žฅ์ด ์ž๊ธฐ ์ž์‹ ์„ ๊ฐ•ํ‡ด ๋ชปํ•˜๊ฒŒ ํ•ด์ฃผ๋Š” ์˜ˆ์™ธ์ฒ˜๋ฆฌ
Expand Down

0 comments on commit a0b04be

Please sign in to comment.