solidarity-transport-2 #2
@@ -326,8 +326,11 @@ func (h *ApplicationHandler) BeneficiaryDisplay(w http.ResponseWriter, r *http.R
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, d := range diagsresp.Diags {
|
for _, d := range diagsresp.Diags {
|
||||||
|
diagData := d.Data.AsMap()
|
||||||
|
if beneficiary, ok := diagData["beneficiary"].(string); ok && beneficiary == beneficiaryID {
|
||||||
diag = append(diag, d.ToStorageType())
|
diag = append(diag, d.ToStorageType())
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
groupsrequest := &groupsmanagement.GetGroupsRequest{
|
groupsrequest := &groupsmanagement.GetGroupsRequest{
|
||||||
Namespaces: []string{"parcoursmob_organizations"},
|
Namespaces: []string{"parcoursmob_organizations"},
|
||||||
|
|||||||
Reference in New Issue
Block a user