fix: agregamos variables para mysql

Agregamos las variables para la conexion  de MySQL en app.js
This commit is contained in:
2022-12-17 07:48:32 -06:00
parent a8b29ee1ce
commit dcf65b87bc
3 changed files with 24 additions and 0 deletions

View File

@@ -9,6 +9,14 @@ const {
const TwilioProvider = require('@bot-whatsapp/provider/twilio')
const MySQLAdapter = require('@bot-whatsapp/database/mysql')
/**
* Declaramos las conexiones de MySQL
*/
const MYSQL_DB_HOST = 'localhost'
const MYSQL_DB_USER = 'user'
const MYSQL_DB_PASSWORD = 'pass'
const MYSQL_DB_NAME = 'bot'
/**
* Declarando flujo hijo
*/

View File

@@ -9,6 +9,14 @@ const {
const VenomProvider = require('@bot-whatsapp/provider/venom')
const MySQLAdapter = require('@bot-whatsapp/database/mysql')
/**
* Declaramos las conexiones de MySQL
*/
const MYSQL_DB_HOST = 'localhost'
const MYSQL_DB_USER = 'user'
const MYSQL_DB_PASSWORD = 'pass'
const MYSQL_DB_NAME = 'bot'
/**
* Declarando flujo hijo
*/

View File

@@ -9,6 +9,14 @@ const {
const WebWhatsappProvider = require('@bot-whatsapp/provider/web-whatsapp')
const MySQLAdapter = require('@bot-whatsapp/database/mysql')
/**
* Declaramos las conexiones de MySQL
*/
const MYSQL_DB_HOST = 'localhost'
const MYSQL_DB_USER = 'user'
const MYSQL_DB_PASSWORD = 'pass'
const MYSQL_DB_NAME = 'bot'
/**
* Declarando flujo hijo
*/