Actualizar server.js
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user