clean code

This commit is contained in:
soukainna 2023-03-06 10:32:57 +01:00
parent a63a4ad1c2
commit 7847b4c31f
1 changed files with 0 additions and 2 deletions

View File

@ -476,7 +476,6 @@ func (h *ApplicationHandler) groupmembers(groupid string) (groupmembers []mobili
return groupmembers, admins, err return groupmembers, admins, err
} }
//////////////////////////////beneificiare list///////////
func (h ApplicationHandler) AdminStatBeneficaires(w http.ResponseWriter, r *http.Request) { func (h ApplicationHandler) AdminStatBeneficaires(w http.ResponseWriter, r *http.Request) {
beneficiaries, err := h.services.GetBeneficiaries() beneficiaries, err := h.services.GetBeneficiaries()
if err != nil { if err != nil {
@ -489,7 +488,6 @@ func (h ApplicationHandler) AdminStatBeneficaires(w http.ResponseWriter, r *http
h.Renderer.AdminStatBeneficaires(w, r, beneficiaries, cacheid) h.Renderer.AdminStatBeneficaires(w, r, beneficiaries, cacheid)
} }
//////////////////////////////event list///////////
func (h ApplicationHandler) AdminStatEvents(w http.ResponseWriter, r *http.Request) { func (h ApplicationHandler) AdminStatEvents(w http.ResponseWriter, r *http.Request) {
resp, err := h.services.GRPC.Agenda.GetEvents(context.TODO(), &agenda.GetEventsRequest{ resp, err := h.services.GRPC.Agenda.GetEvents(context.TODO(), &agenda.GetEventsRequest{
Namespaces: []string{"parcoursmob_dispositifs"}, Namespaces: []string{"parcoursmob_dispositifs"},