add deleteSub in event struct

This commit is contained in:
soukainna 2023-02-22 14:56:51 +01:00
parent 72c292bd47
commit 74fe5f57e3
1 changed files with 17 additions and 16 deletions

View File

@ -17,6 +17,7 @@ type Event struct {
Allday bool `json:"allday"` Allday bool `json:"allday"`
MaxSubscribers int64 `json:"max_subscribers"` MaxSubscribers int64 `json:"max_subscribers"`
Subscriptions []Subscription `json:"subscriptions" bson:"subscriptions,omitempty"` Subscriptions []Subscription `json:"subscriptions" bson:"subscriptions,omitempty"`
DeletedSubscription []Subscription `json:"deletedsubscriptions" bson:"deletedsubscriptions,omitempty"`
Data map[string]any `json:"data"` Data map[string]any `json:"data"`
Deleted bool `json:"deleted"` Deleted bool `json:"deleted"`
} }