Update groups CRUD SCIM to use orgMembershipId

This commit is contained in:
Tuan Dang
2024-04-28 21:58:24 -07:00
parent a7af3a48d9
commit b2a976f3d4
9 changed files with 120 additions and 131 deletions
+3 -3
View File
@@ -65,18 +65,18 @@ export const buildScimUser = ({
export const buildScimGroupList = ({
scimGroups,
offset,
startIndex,
limit
}: {
scimGroups: TScimGroup[];
offset: number;
startIndex: number;
limit: number;
}): TListScimGroups => {
return {
Resources: scimGroups,
itemsPerPage: limit,
schemas: ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
startIndex: offset,
startIndex,
totalResults: scimGroups.length
};
};