Merge pull request #10701 from owncloud/graph-skip-fetching-members

graph skip fetching members
This commit is contained in:
Jörn Friedrich Dreyer
2024-12-02 13:34:32 +01:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
@@ -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
+2 -1
View File
@@ -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 {