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 f3172c7e..7f50a1fd 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 @@ -58,7 +58,7 @@ public void ignoreHandWaving(Long userId, Long meetingId, Long handWavingId) { } private HandWaving getHandWavingBySenderIdAndReceiverId(Long senderMemberId, Long receiverMemberId) { - return handWavingRepository.findBySenderIdAndReceiverId(senderMemberId, receiverMemberId) + return handWavingRepository.findFirstBySenderIdAndReceiverIdOrderByIdDesc(senderMemberId, receiverMemberId) .orElseThrow(NotFoundHandWavingException::new); }