From 6347b5fae673264e66c710c7c590e91f6c1da618 Mon Sep 17 00:00:00 2001 From: "taekyu.kang" Date: Thu, 9 May 2024 11:22:44 +0900 Subject: [PATCH] trivial. fix typo; --- internal/usecase/system-notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/usecase/system-notification.go b/internal/usecase/system-notification.go index 451f407e..7513826e 100644 --- a/internal/usecase/system-notification.go +++ b/internal/usecase/system-notification.go @@ -134,7 +134,7 @@ func (u *SystemNotificationUsecase) Create(ctx context.Context, input domain.Cre NotificationType: systemNotification.Annotations.AlertType, } - if systemNotification.Annotations.AlertType != "POLICY_NOTIFICATION" { + if systemNotification.Annotations.AlertType == "POLICY_NOTIFICATION" { dto.PolicyName = systemNotification.Annotations.PolicyName }