From 3e4bfef14e577d19c106257f9348eb7f44f14678 Mon Sep 17 00:00:00 2001 From: Klaus Date: Mon, 3 Feb 2025 16:15:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=8C=EB=A6=BC=EC=84=A4=EC=A0=95=20-=20?= =?UTF-8?q?=EC=B2=98=EC=9D=8C=EC=97=90=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1=EC=8B=9C=20null=EC=9D=B4=20=EB=93=A4?= =?UTF-8?q?=EC=96=B4=EC=98=A4=EB=A9=B4=20false=EB=A1=9C=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../member/notification/MemberNotificationService.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/member/notification/MemberNotificationService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/member/notification/MemberNotificationService.kt index db023e8..44dc8f3 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/member/notification/MemberNotificationService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/member/notification/MemberNotificationService.kt @@ -15,10 +15,10 @@ class MemberNotificationService(private val repository: MemberNotificationReposi var notification = repository.getMemberNotification(memberId = member.id!!) if (notification == null) { notification = MemberNotification( - uploadContent = uploadContent, - live = live, - message = message, - audition = audition + uploadContent = uploadContent ?: false, + live = live ?: false, + message = message ?: false, + audition = audition ?: false ) notification.member = member repository.save(notification)