fix some err
This commit is contained in:
parent
301f636072
commit
781ec59472
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue