create private team
This commit is contained in:
parent
55c7753c86
commit
89e6e02664
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue