Merge branch 'modifyAnEvent' into dev
This commit is contained in:
@@ -90,4 +90,12 @@ func (h AgendaHandler) DeleteSubscription(eventid string, subscriber string, dat
|
||||
}
|
||||
err = h.storage.UpdateSubscription(eventid, subscriber, deletesubscription)
|
||||
return
|
||||
func (h AgendaHandler) UpdateEvent(event storage.Event) (*storage.Event, error) {
|
||||
|
||||
// Store the account
|
||||
if err := h.storage.UpdateEvent(event); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &event, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user