create private team

This commit is contained in:
Hugo Renard 2022-04-19 17:59:19 +02:00
parent 55c7753c86
commit 89e6e02664
Signed by: hougo
GPG key ID: 3A285FD470209C59

View file

@ -31,7 +31,7 @@ export class GroupsEndpoint extends ScimEndpoint implements IScimEndpoint {
const u = SCIMGroup.fromPlain(ctx.content()); const u = SCIMGroup.fromPlain(ctx.content());
const o = await ctx.rc.team.create({ const o = await ctx.rc.team.create({
name: u.displayName, name: u.displayName,
type: 0, type: 1,
members: u.members.map((x) => x.value), members: u.members.map((x) => x.value),
}); });
this.handleError(o); this.handleError(o);