mirror of
https://github.com/complexcaresolutions/frontend.zweitmeinu.ng.git
synced 2026-03-17 15:03:48 +00:00
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:
parent
69eb87edae
commit
62769379ad
2 changed files with 2 additions and 2 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in a new issue