From 89e6e0266459626a1553c0d9568bffe448828039 Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Tue, 19 Apr 2022 17:59:19 +0200 Subject: [PATCH] create private team --- src/endpoints/GroupsEndpoint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);