From aafbaeb8163688397a47e53622f0b7881953a880 Mon Sep 17 00:00:00 2001 From: yubin-im Date: Mon, 10 Jun 2024 13:25:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AA=A8=EC=9E=84=EA=B0=80=EC=9E=85-=20?= =?UTF-8?q?=EA=B8=B0=EC=A1=B4=20=EB=A9=A4=EB=B2=84=20=EB=8C=80=EC=9D=91=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../teamMember/service/impl/TeamMemberServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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()