feat: added notification test

This commit is contained in:
Marvin Zhang
2024-11-14 16:44:49 +08:00
parent a1a7a52f15
commit dfaf18fbd6
3 changed files with 81 additions and 13 deletions

View File

@@ -18,4 +18,5 @@ type NotificationRequest struct {
ChannelId primitive.ObjectID `json:"channel_id" bson:"channel_id"`
Setting *NotificationSetting `json:"setting,omitempty" bson:"-"`
Channel *NotificationChannel `json:"channel,omitempty" bson:"-"`
Test bool `json:"test,omitempty" bson:"test,omitempty"`
}