fix: update contact form ID to match CMS (form 3)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
CCS Admin 2026-02-21 00:50:09 +00:00
parent 69eb87edae
commit 62769379ad
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ export function ContactForm() {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
form: 1,
form: 3,
submissionData: [
{ field: "name", value: form.name },
{ field: "email", value: form.email },

View file

@ -129,7 +129,7 @@ export async function submitContactForm(data: {
formId?: number
}): Promise<{ success: boolean; message?: string }> {
return cms.post("/api/form-submissions", {
form: data.formId || 1,
form: data.formId || 3,
submissionData: [
{ field: "name", value: data.name },
{ field: "email", value: data.email },