Merge branch 'modifyAnEvent' into dev
This commit is contained in:
@@ -28,6 +28,7 @@ func (e Event) ToStorageType() storage.Event {
|
||||
Subscriptions: []storage.Subscription{},
|
||||
DeletedSubscription: []storage.Subscription{},
|
||||
Data: map[string]any{},
|
||||
Deleted: e.Deleted,
|
||||
}
|
||||
|
||||
for _, v := range e.Subscriptions {
|
||||
@@ -106,6 +107,7 @@ func EventFromStorageType(event *storage.Event) (*Event, error) {
|
||||
Subscriptions: subscriptions,
|
||||
DeletedSubscription: deletedsubscription,
|
||||
Data: data,
|
||||
Deleted: event.Deleted,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user