Skip to content

Commit

Permalink
fix: 직책 변경시 자기 자신이 변경되던 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
haroya01 committed May 15, 2024
1 parent a0393c7 commit 140614a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void updateTeamUser(TeamUser member, TeamUser changeMember, TeamUserReque
throw new RuntimeException("본인 또는 팀장만 정보를 수정할 수 있습니다.");
}

member.update(request);
teamUserRepository.save(member);
changeMember.update(request);
teamUserRepository.save(changeMember);
}
}

0 comments on commit 140614a

Please sign in to comment.