diff --git a/src/main/java/org/depromeet/sambad/moring/meeting/handwaving/application/HandWavingService.java b/src/main/java/org/depromeet/sambad/moring/meeting/handwaving/application/HandWavingService.java index 045c0b22..413ff323 100644 --- a/src/main/java/org/depromeet/sambad/moring/meeting/handwaving/application/HandWavingService.java +++ b/src/main/java/org/depromeet/sambad/moring/meeting/handwaving/application/HandWavingService.java @@ -56,6 +56,7 @@ public void acceptHandWaving(Long userId, Long meetingId, Long handWavingId) { HandWaving handWaving = getHandWavingById(handWavingId); handWaving.validateIsReceiver(userId); handWaving.accept(); + eventService.inactivateLastEventByType(userId, meetingId, HAND_WAVING_REQUESTED); } @Transactional @@ -64,6 +65,7 @@ public void ignoreHandWaving(Long userId, Long meetingId, Long handWavingId) { HandWaving handWaving = getHandWavingById(handWavingId); handWaving.validateIsReceiver(userId); handWaving.reject(); + eventService.inactivateLastEventByType(userId, meetingId, HAND_WAVING_REQUESTED); } public List getHandWavingSummariesBy(List events) {