Actualizar server.js

This commit is contained in:
2026-03-14 20:29:00 +00:00
parent 2108cb644c
commit a169a56b86

View File

@@ -1016,8 +1016,9 @@ app.post("/public/new-request", async (req, res) => {
`, [newServiceId, worker.id, token]); `, [newServiceId, worker.id, token]);
// Enviamos el WA al operario // Enviamos el WA al operario
const msg = `🚨 *URGENCIA PARTICULAR (WEB)*\n📍 Zona: Asignada\n🔗 https://portal.integrarepara.es/aceptar.html?t=${token}`; const msg = `🚨 *URGENCIA PARTICULAR (WEB)*\n📍 Zona: Asignada\n🔗 https://web.integrarepara.es/aceptar.html?t=${token}`;
sendWhatsAppAuto(worker.phone, msg, `cliente_${targetOwnerId}`, false).catch(console.error); sendWhatsAppAuto(worker.phone, msg, `cliente_${targetOwnerId}`, false).catch(console.error);
// Dejamos huella // Dejamos huella