new send emails

This commit is contained in:
David Ascanio 2026-07-23 00:08:21 -03:00
parent 0fc50c42d1
commit 261473c60c
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 emailResponse = await fetch("http://155.138.215.11:3050/email/send", {
const emailResponse = await fetch("https://flows2.carpa.com/webhook/email/send", {
method: "POST",
headers: {
"Content-Type": "application/json",
@ -78,6 +78,7 @@ export const POST: APIRoute = async ({ request }) => {
nombre,
email,
mensaje,
senderName : "Centro del Reino de Paz y Justicia",
},
}),
});