mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: add required org value
This commit is contained in:
parent
6198fd2b93
commit
3fccbe1ce4
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const Organizations = () => {
|
|||
const handleSubmit = async (e: any) => {
|
||||
e.preventDefault();
|
||||
console.log({ name, description, email });
|
||||
const status = await createNewOrganization({ name, description, email, slug });
|
||||
const status = await createNewOrganization({ name, description, email, slug , default: false });
|
||||
alert(JSON.stringify(status));
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue