diff --git a/src/main/java/com/hanaro/triptogether/teamMember/service/impl/TeamMemberServiceImpl.java b/src/main/java/com/hanaro/triptogether/teamMember/service/impl/TeamMemberServiceImpl.java index e2907de..bc7ecbd 100644 --- a/src/main/java/com/hanaro/triptogether/teamMember/service/impl/TeamMemberServiceImpl.java +++ b/src/main/java/com/hanaro/triptogether/teamMember/service/impl/TeamMemberServiceImpl.java @@ -197,6 +197,7 @@ public void joinTeamMember(JoinTeamMemberReq joinTeamMemberReq) { if (existingTeamMember != null) { existingTeamMember.updateTeamMemberState(TeamMemberState.수락대기); + existingTeamMember.delete(null, null); teamMemberRepository.save(existingTeamMember); } else { TeamMember teamMember = TeamMember.builder()