From 682e962d28d88fbf825b474b479f8339b703e108 Mon Sep 17 00:00:00 2001 From: mhf Date: Mon, 6 Mar 2023 10:27:52 +0800 Subject: [PATCH] fix(notify): alert notification --- pkg/notify/models/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/notify/models/notification.go b/pkg/notify/models/notification.go index d7ed5cd816..73412808ff 100644 --- a/pkg/notify/models/notification.go +++ b/pkg/notify/models/notification.go @@ -69,7 +69,7 @@ type SNotification struct { // swagger:ignore Message string `create:"required"` // swagger:ignore - TopicType string `json:"topic_type" width:"20" nullable:"true" create:"required" update:"user" list:"user"` + TopicType string `json:"topic_type" width:"20" nullable:"true" update:"user" list:"user"` ReceivedAt time.Time `nullable:"true" list:"user" get:"user"` EventId string `width:"128" nullable:"true"`