From 3fccbe1ce4fcfe4ce71144427aba64e337b250e6 Mon Sep 17 00:00:00 2001 From: swve Date: Thu, 13 Apr 2023 00:29:48 +0200 Subject: [PATCH] feat: add required org value --- front/app/organizations/new/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/app/organizations/new/page.tsx b/front/app/organizations/new/page.tsx index 6fa3dcb3..399623c5 100644 --- a/front/app/organizations/new/page.tsx +++ b/front/app/organizations/new/page.tsx @@ -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)); };