clean code
This commit is contained in:
parent
a63a4ad1c2
commit
7847b4c31f
|
@ -476,7 +476,6 @@ func (h *ApplicationHandler) groupmembers(groupid string) (groupmembers []mobili
|
|||
return groupmembers, admins, err
|
||||
}
|
||||
|
||||
//////////////////////////////beneificiare list///////////
|
||||
func (h ApplicationHandler) AdminStatBeneficaires(w http.ResponseWriter, r *http.Request) {
|
||||
beneficiaries, err := h.services.GetBeneficiaries()
|
||||
if err != nil {
|
||||
|
@ -489,7 +488,6 @@ func (h ApplicationHandler) AdminStatBeneficaires(w http.ResponseWriter, r *http
|
|||
h.Renderer.AdminStatBeneficaires(w, r, beneficiaries, cacheid)
|
||||
}
|
||||
|
||||
//////////////////////////////event list///////////
|
||||
func (h ApplicationHandler) AdminStatEvents(w http.ResponseWriter, r *http.Request) {
|
||||
resp, err := h.services.GRPC.Agenda.GetEvents(context.TODO(), &agenda.GetEventsRequest{
|
||||
Namespaces: []string{"parcoursmob_dispositifs"},
|
||||
|
|
Loading…
Reference in New Issue