feat: add required org value

This commit is contained in:
swve 2023-04-13 00:29:48 +02:00 committed by Badr B
parent 6198fd2b93
commit 3fccbe1ce4

View file

@ -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));
};