From 6bb30dfa427452092b93eb500d10b295429eaf14 Mon Sep 17 00:00:00 2001 From: soohyun Date: Wed, 6 Dec 2023 02:41:15 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=EB=8C=93=EA=B8=80=EC=95=8C=EB=A6=BC=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/winey/server/common/message/MessageQueueReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/winey/server/common/message/MessageQueueReceiver.java b/src/main/java/org/winey/server/common/message/MessageQueueReceiver.java index dd1c546..b72244c 100644 --- a/src/main/java/org/winey/server/common/message/MessageQueueReceiver.java +++ b/src/main/java/org/winey/server/common/message/MessageQueueReceiver.java @@ -62,7 +62,7 @@ public void commentReceiver(byte[] commentNoti){ try { in = new ObjectInputStream(bis); Object obj = in.readObject(); - if (obj instanceof Notification){ + if (obj instanceof FcmRequestDto){ FcmRequestDto notification = (FcmRequestDto) obj; fcmService.sendByToken(notification); }