diff --git a/actions/auth/auth.ts b/actions/auth/auth.ts index 2d7852e1e4..3b7195688a 100644 --- a/actions/auth/auth.ts +++ b/actions/auth/auth.ts @@ -63,9 +63,11 @@ export const createNewUser = async ( name: formData.name, email: formData.email, password: formData.password, + ...(formData.company && { company_name: formData.company }), }, }, }; + try { const response = await fetch(url.toString(), {