[+] add function GetSubscriberByUser for the agenda-widget

This commit is contained in:
2023-09-06 13:34:43 +02:00
parent f06ed52547
commit be0835273e
16 changed files with 551 additions and 1556 deletions

View File

@@ -24,6 +24,7 @@ type Event struct {
type Subscription struct {
ID string `json:"id" bson:"_id"`
EventID string `json:"event_id"`
Subscriber string `json:"subscriber"`
Tags []string `json:"tags"`
CreatedAt time.Time `json:"created_at,omitempty"`