From 67df6f2549cdc1aae4db4143d77e3f4b066e238f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=ED=95=9C=EC=9D=8C?= Date: Sun, 25 Aug 2024 20:24:29 +0900 Subject: [PATCH] =?UTF-8?q?[SAMBAD-300]-=EC=95=8C=EB=A6=BC=20publish=20use?= =?UTF-8?q?rid=20receiver=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20(#139)?= 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); }