Groups default open
This commit is contained in:
parent
aa6d0d1750
commit
d3da6de5dd
|
@ -46,7 +46,7 @@ export function CreateGroupButton(props: {
|
||||||
const newGroup = {
|
const newGroup = {
|
||||||
name: groupName,
|
name: groupName,
|
||||||
memberIds: memberUsers.map((user) => user.id),
|
memberIds: memberUsers.map((user) => user.id),
|
||||||
anyoneCanJoin: false,
|
anyoneCanJoin: true,
|
||||||
}
|
}
|
||||||
const result = await createGroup(newGroup).catch((e) => {
|
const result = await createGroup(newGroup).catch((e) => {
|
||||||
const errorDetails = e.details[0]
|
const errorDetails = e.details[0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user