From b4af270aed40753665a1f9a8c0897a9804cbf7cf Mon Sep 17 00:00:00 2001 From: LeeHanEum Date: Sun, 25 Aug 2024 20:16:16 +0900 Subject: [PATCH] =?UTF-8?q?[SAMBAD-300]-refactor:=20=EC=95=8C=EB=A6=BC=20p?= =?UTF-8?q?ublish=20userid=20receiver=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meeting/handwaving/application/HandWavingService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f8cbfaef..e02b4965 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 @@ -86,8 +86,8 @@ private void publishRequestedEvent(HandWaving handWaving) { "handWavingId", handWaving.getId() ); - Long userId = sender.getUser().getId(); - Long meetingId = sender.getMeeting().getId(); + Long userId = receiver.getUser().getId(); + Long meetingId = receiver.getMeeting().getId(); eventService.publish(userId, meetingId, HAND_WAVING_REQUESTED, contentsMap, additionalData); }