From d2a76d38f674538d985c6aab1cb06fd16e46abc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=9D=B8=EC=A4=80?= <54973090+dlswns2480@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:33:25 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=97=B0=EC=82=B0=EC=9E=90=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#164)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/pokit/content/port/service/ContentService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/kotlin/com/pokit/content/port/service/ContentService.kt b/application/src/main/kotlin/com/pokit/content/port/service/ContentService.kt index 8f5e6c20..802d9114 100644 --- a/application/src/main/kotlin/com/pokit/content/port/service/ContentService.kt +++ b/application/src/main/kotlin/com/pokit/content/port/service/ContentService.kt @@ -79,7 +79,7 @@ class ContentService( val content = verifyContent(user.id, contentId) content.modify(contentCommand) - if (contentCommand.alertYn === YES) { + if (contentCommand.alertYn == YES) { publisher.publishEvent(CreateAlertRequest(userId = user.id, contetId = content.id)) }