From e20f6d5de5b8ee613270357d6cbd691d50c008be Mon Sep 17 00:00:00 2001 From: LeeHanEum Date: Wed, 21 Aug 2024 23:44:56 +0900 Subject: [PATCH] =?UTF-8?q?[SAMBAD-276]-fix:=20=EC=BB=B4=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=20=EC=97=90=EB=9F=AC=20=ED=94=BD=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meeting/handwaving/application/HandWavingService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }