Skip to content

Commit

Permalink
Merge pull request #170 from Media-XI/ART-189-be-팀-유저-정보-변경시-자신이-변경되는…
Browse files Browse the repository at this point in the history
…-문제-해결

fix: 직책 변경시 자기 자신이 변경되던 문제 해결
  • Loading branch information
Hoon9901 authored May 15, 2024
2 parents d9dcd89 + 258dc3e commit 8671f9c
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 8671f9c

Please sign in to comment.