new send emails #24

Merged
esteban merged 1 commits from new-form into create_form 2026-07-24 08:10:19 +00:00
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export const POST: APIRoute = async ({ request }) => {
} }
const emailApiKey = import.meta.env.EMAIL_API_KEY; const emailApiKey = import.meta.env.EMAIL_API_KEY;
const emailResponse = await fetch("http://155.138.215.11:3050/email/send", { const emailResponse = await fetch("https://flows2.carpa.com/webhook/email/send", {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
@ -78,6 +78,7 @@ export const POST: APIRoute = async ({ request }) => {
nombre, nombre,
email, email,
mensaje, mensaje,
senderName : "Centro del Reino de Paz y Justicia",
}, },
}), }),
}); });