Notifications parameters and delete members
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m54s
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 1m54s
This commit is contained in:
@@ -81,6 +81,13 @@ func (h GroupsManagementHandler) Unsubscribe(groupid string, subscriber string)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (h GroupsManagementHandler) UpdateGroup(group storage.Group) (*storage.Group, error) {
|
||||
if err := h.storage.UpdateGroup(group); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &group, nil
|
||||
}
|
||||
|
||||
func (h GroupsManagementHandler) DeleteGroup(id string) error {
|
||||
return h.storage.DeleteGroup(id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user