mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-24 16:41:35 -04:00
graph skip fetching members
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
5
changelog/unreleased/graph-skip-fetching-members.md
Normal file
5
changelog/unreleased/graph-skip-fetching-members.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Bugfix: Skip fetching members
|
||||
|
||||
We now skip fetching group members when they are not needed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10701
|
||||
@@ -149,7 +149,8 @@ func (cache IdentityCache) GetGroup(ctx context.Context, groupID string) (libreg
|
||||
OpaqueId: groupID,
|
||||
}
|
||||
req := cs3Group.GetGroupRequest{
|
||||
GroupId: cs3GroupID,
|
||||
GroupId: cs3GroupID,
|
||||
SkipFetchingMembers: true,
|
||||
}
|
||||
res, err := gatewayClient.GetGroup(ctx, &req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user