fix some err

This commit is contained in:
soukainna 2023-02-03 16:33:00 +01:00
parent 301f636072
commit 781ec59472
1 changed files with 0 additions and 11 deletions

View File

@ -71,17 +71,6 @@ func (h AgendaHandler) SubscribeEvent(eventid string, subscriber string, data ma
return
}
// func (h AgendaHandler) UnsubscribeEvent(eventid string, subscriber string) (err error) {
// if eventid == "" || subscriber == "" {
// return errors.New("missing eventid or subscriber")
// }
// event, err = h.storage.GetEvent(eventid)
// for i := 0; i < event.Subscriptions; i++ {
// }
// return
// }
func (h AgendaHandler) UpdateEvent(event storage.Event) (*storage.Event, error) {
// Store the account