diff --git a/src/endpoints/GroupsEndpoint.ts b/src/endpoints/GroupsEndpoint.ts index 8df8c78..5841278 100644 --- a/src/endpoints/GroupsEndpoint.ts +++ b/src/endpoints/GroupsEndpoint.ts @@ -31,7 +31,7 @@ export class GroupsEndpoint extends ScimEndpoint implements IScimEndpoint { const u = SCIMGroup.fromPlain(ctx.content()); const o = await ctx.rc.team.create({ name: u.displayName, - type: 0, + type: 1, members: u.members.map((x) => x.value), }); this.handleError(o);