change variable in group_module

This commit is contained in:
soukainna
2022-11-08 17:28:01 +01:00
parent 6c29e2f2ae
commit 6accf3e4b9
6 changed files with 5 additions and 594 deletions

View File

@@ -208,12 +208,12 @@ func (h *ApplicationHandler) DisplayGroupModule(w http.ResponseWriter, r *http.R
return
}
accountsB, err := h.beneficiaries(r)
accountsBeneficaire, err := h.beneficiaries(r)
if err != nil {
fmt.Println(err)
w.WriteHeader(http.StatusBadRequest)
return
}
//h.Renderer.BeneficaireSearch(w, r, accounts, searched, beneficiary, resp.Group.ToStorageType())
h.Renderer.DisplayGroupModule(w, r, resp.Group.ToStorageType().ID, accounts, cacheid, searched, beneficiary, resp.Group.ToStorageType(), accountsB)
h.Renderer.DisplayGroupModule(w, r, resp.Group.ToStorageType().ID, accounts, cacheid, searched, beneficiary, resp.Group.ToStorageType(), accountsBeneficaire)
}