graph skip fetching members

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-12-02 10:37:07 +01:00
parent 2d26ab4007
commit 404e3e5580
2 changed files with 7 additions and 1 deletions

View 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

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 {