1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-05 23:00:21 +00:00

Get group members add LIMIT (#53)

This commit is contained in:
feiniks
2020-10-15 15:23:27 +08:00
committed by GitHub
parent e603dfdecd
commit 908a024603
7 changed files with 39 additions and 15 deletions

View File

@@ -29,11 +29,11 @@ ccnet_get_org_groups_by_user (SearpcClient *client, const char *user, int org_id
}
GList *
ccnet_get_group_members (SearpcClient *client, int group_id)
ccnet_get_group_members (SearpcClient *client, int group_id, int start, int limit)
{
return searpc_client_call__objlist (
client, "get_group_members", CCNET_TYPE_GROUP_USER, NULL,
1, "int", group_id);
3, "int", group_id, "int", start, "int", limit);
}
int