Skip to content

Commit

Permalink
Adapt to new Grappa urls for group memberships.
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed May 14, 2024
1 parent 487096e commit eb48f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (m *manager) GetMembers(ctx context.Context, gid *grouppb.GroupId) ([]*user
return users, nil
}

url := fmt.Sprintf("%s/api/v1.0/Group/%s/memberidentities/precomputed?limit=10&field=upn&field=primaryAccountEmail&field=displayName&field=uid&field=gid&field=type&field=source", m.conf.APIBaseURL, gid.OpaqueId)
url := fmt.Sprintf("%s/api/v1.0/Group/%s/memberidentities/recursive?limit=10&field=upn&field=primaryAccountEmail&field=displayName&field=uid&field=gid&field=type&field=source", m.conf.APIBaseURL, gid.OpaqueId)

var r user.IdentitiesResponse
members := []*userpb.UserId{}
Expand Down

0 comments on commit eb48f7b

Please sign in to comment.