Actualizar server.js
This commit is contained in:
@@ -1827,7 +1827,7 @@ async function triggerWhatsAppEvent(ownerId, serviceId, eventType) {
|
|||||||
// ====================================================
|
// ====================================================
|
||||||
// 🛑 MODO PRUEBAS (Desvía los mensajes a tu móvil)
|
// 🛑 MODO PRUEBAS (Desvía los mensajes a tu móvil)
|
||||||
// ====================================================
|
// ====================================================
|
||||||
const MODO_PRUEBAS = true; // Cambia esto a 'false' para enviar a clientes reales
|
const MODO_PRUEBAS = false; // Cambia esto a 'false' para enviar a clientes reales
|
||||||
const MI_TELEFONO = "34667248132"; // <--- TU NÚMERO DE MÓVIL YA CONFIGURADO
|
const MI_TELEFONO = "34667248132"; // <--- TU NÚMERO DE MÓVIL YA CONFIGURADO
|
||||||
|
|
||||||
if (MODO_PRUEBAS) {
|
if (MODO_PRUEBAS) {
|
||||||
@@ -2475,7 +2475,7 @@ app.post("/services/not-found/:id", authMiddleware, async (req, res) => {
|
|||||||
const useDelay = settings.wa_delay_enabled !== false;
|
const useDelay = settings.wa_delay_enabled !== false;
|
||||||
|
|
||||||
// MODO PRUEBAS: Redirigir el mensaje a tu móvil
|
// MODO PRUEBAS: Redirigir el mensaje a tu móvil
|
||||||
const MODO_PRUEBAS = true;
|
const MODO_PRUEBAS = false;
|
||||||
const MI_TELEFONO = "34667248132";
|
const MI_TELEFONO = "34667248132";
|
||||||
|
|
||||||
if (MODO_PRUEBAS) {
|
if (MODO_PRUEBAS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user