From 2beaba22bd39a51a247955df8b6862cafdd314ca Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Wed, 26 Oct 2022 19:31:17 +0900 Subject: [PATCH] fix: add missing form data for partner form submission --- .../functions/hubspot-notification/index.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/apps/www/supabase/functions/hubspot-notification/index.ts b/apps/www/supabase/functions/hubspot-notification/index.ts index 7cb06314695..18db3b7872d 100644 --- a/apps/www/supabase/functions/hubspot-notification/index.ts +++ b/apps/www/supabase/functions/hubspot-notification/index.ts @@ -33,7 +33,21 @@ serve(async (req) => { switch (input.table) { case 'partner_contacts': - formData = { ...formData, jobtitle, website, partner_gallery_type } + formData = { + ...formData, + supabase_table_id, + country, + form_note, + company, + company_size, + email, + phone, + lastName, + firstName, + jobtitle, + website, + partner_gallery_type, + } break case 'soc2_requests': case 'enterprise_contacts':