fix some err
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user